Java String:==>In Java, string is basically an object that represents sequence of char values. An array of characters works same as Java string. For example:char[] ch={'s','t','u','d','y'}; String s=new String(ch); is same as:String s='study'; - Study24x7
Social learning Network
study24x7

Default error msg

Login

New to Study24x7 ? Join Now
Already have an account? Login
683 followers study24x7 01 Apr 2019 11:34 AM study24x7 study24x7

Java String:==>In Java, string is basically an object that represents sequence of char values. An array of characters works same as Java string. For example:
char[] ch={'s','t','u','d','y'}; String s=new String(ch);
is same as:String s="study";

study24x7
Write a comment
Related Questions
500+   more Questions to answer
Most Related Articles