Tutorials in the section

java.lang.String.hashCode()  
int hashCode() method in Java returns a hash code for the given string but it can return zero as well if the given string is empty..

String.equals()  
String.equals() method checks the equality between two object and returns in Boolean values. .

java.lang.String.trim()  
trim() is a string class method in Java that removes all the whitespaces as well as ASCII control characters..

java.lang.String.toUpperCase()  
toUpperCase() method of string class coverts all the string character into uppercase letters..

java.lang.String.toLowerCase()  
toLowerCase() is the method of the String class in Java, which is used to convert upper case characters into the lower case characters..

java.lang.String.toString()  
ToString class generally used to represent the generated output in human readable or textual format. It extends from java.lang.Object class. .

java.lang.String.length()  
java.lang.String.length(): is the Java String class method that returns the actual length of the String. .

java.lang.String  
java.lang.String class extends from Object(java.lang.Objects) and used to represent the character String..

Ads

 
Advertisement null

Ads