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={‘j’,’a’,’v’,’a’,’t’,’p’,’o’,’i’,’n’,’t’};
Read moreHow many methods are there to declare a String?
There are two ways to create a string in Java: String literal.
Read moreHow do you write a String method in Java?
Java Strings
Read more