java string... syntax 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 java
char data[] = {'a', 'b', 'c'};
String str = new String(data);
In java, string is an object. It is sequence of character values enclosed by
double quotes.
char data[] = {'a', 'b', 'c'};
String str = new String(data);