string in java new 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: how to make a string in java
//In Javascript, a string is declared using double quotes "". It is made up by character values.
//For eg:
string = "hello".