functions on string in java code example
Example 1: string in java
In java, string is an object. It is sequence of character values enclosed by
double quotes.
Example 2: string method example in java
public int length()
-----------------------
String x = "01234567";
System.out.println( x.length() ); // returns "8"