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";
Download the Study24x7 App, so you can connect and collaborate.