Java String
string is basically an object that represents sequence of char values. An array of characters works same as java string. For example: char[] ch={‘p’,’r’,’o’,’g’,’r’,’a’,’m’,’e’,’r’}; String s=new String(ch); ssame as: String s=”progemar”; Java String class gives a lot of way(method) s to apply missions on string such as compare(), concat(), equals(), split(), length(), replace(), compareTo(), […]