Categories
Uncategorized

Strings in Java

String manipulation is the most common part of Many java programs. 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’}; String s=newString(ch); is same as: String s=”javatpoint”; String is a sequence of characters. But in java, string is […]