Skip to content

Tech4Humans

Technology for All

  • General Tech
  • Tutorials
    • Eclipse Tutorials
  • Coding
  • Java
    • General Java
    • Java 11
    • Patterns
    • Constructors
    • Inheritance
    • Collections
      • ArrayList
      • HashMap
    • Sorting
  • Tech Memes
  • News
  • About
  • General Tech
  • Tutorials
    • Eclipse Tutorials
  • Coding
  • Java
    • General Java
    • Java 11
    • Patterns
    • Constructors
    • Inheritance
    • Collections
      • ArrayList
      • HashMap
    • Sorting
  • Tech Memes
  • News
  • About

Category: Java

Create a Web project in Eclipse
Eclipse / Java

Create a Web project in Eclipse

Ankitby AnkitJune 11, 2020June 13, 20200

In Eclipse web projects can be created easily. We will see how to create a simple web project having a JSP file and an HTML file. We will also see how to setup Tomcat server to run our web project. Let …

Read More
Shortcut to generate Getter and Setter in Eclipse
Coding / General Java

Shortcut to generate Getter and Setter in Eclipse

Ankitby AnkitJune 2, 2020June 13, 20200

What are Getter and setter methods ? Getter method is to retrieve the value of instance variable while a setter method is used to set or update the value of instance variable. It is a good practice to access instance variables …

Read More
Common Terms used in IT Industry that Everyone should know
Coding / General Tech / Java / News

Common Terms used in IT Industry that Everyone should know

Ankitby AnkitMay 30, 2020May 31, 20200

“John, Can you deploy Branch 675 on UAT environment”. If John was a fresher then he would understand nothing in the above instruction given to him by senior. When we join any industry as a fresher then the most common problem …

Read More
Java 11

repeat() method in Java 11

Ankitby AnkitMay 28, 2020May 28, 20200

repeat() method is present in String class of Java 11. It is used to repeat the string by the number of times mentioned in the argument of method and concatenate it at end of string. repeat() takes an argument which is …

Read More
Java 11

stripTrailing() method of String class

Ankitby AnkitMay 28, 2020June 1, 20200

stripTrailing() method has been introduced in String class of Java 11. It is used to remove all the trailing white space characters from the string and return the remaining string. It means it removes white spaces that come at the end of string. If the …

Read More
Java 11

stripLeading() method in String class

Ankitby AnkitMay 28, 2020June 1, 20200

stripLeading() method has been introduced in String class of Java 11. It is used to remove all the leading white space characters from the string and return the remaining string. It means it removes white spaces that comes at beginning of …

Read More
strip() method in String class
Java 11

strip() method in String class

Ankitby AnkitMay 28, 2020June 1, 20200

In Java 11 a new method strip() has been introduced in String class. It is used to remove all the trailing and leading white space characters from the string. strip() method returns the string after removing these white spaces. If the …

Read More
isBlank() vs isEmpty() in String class Java
General Java / Java 11

isBlank() vs isEmpty() in String class Java

Ankitby AnkitMay 24, 2020June 1, 20200

isBlank() is a new method introduced in String class in Java. By naming isBlank() and isEmpty() methods look similar to each other, but there is a slight difference between them – isBlank() returns true for the string having only white space …

Read More
General Java / Java 11

isBlank() in Java 11

Ankitby AnkitMay 24, 2020May 28, 20200

Few new methods have been introduced in Java 11, String class. One of them is isBlank() method. isBlank() method returns true if the string is empty or contains white space characters only. If the string contains multiple white space characters and …

Read More
Binary Search in Java
General Java

Binary Search in Java

Ankitby AnkitMay 21, 2020May 21, 20200

Binary search is an optimized algorithm to perform searching operation. It follows Divide and Conquer approach for searching. Pre-condition of Binary search : To perform Binary search the array should be sorted in ascending or descending order. Logic of Binary Search …

Read More

Posts navigation

1 2 … 6 Next

Meme of the Day

Recent Posts

  • Create a Web project in Eclipse
  • Search text in multiple files in Eclipse
  • Search files in Eclipse Workspace
  • Import project in Eclipse
  • Debugging in Eclipse

Recent Comments

  • FunGuy on Change Screen Resolution in Windows 10

Recent Posts

  • Create a Web project in Eclipse
  • Search text in multiple files in Eclipse
  • Search files in Eclipse Workspace
  • Import project in Eclipse
  • Debugging in Eclipse

Recent Comments

  • FunGuy on Change Screen Resolution in Windows 10
Copyright © 2021 Tech4Humans. Powered by WordPress and Bam.