java string method example
Example: string method example in java
public int length()
-----------------------
String x = "01234567";
System.out.println( x.length() ); // returns "8"
public int length()
-----------------------
String x = "01234567";
System.out.println( x.length() ); // returns "8"