String methods – toString,toUppercase,toLowercase,toChararray

In this post, we will discuss about the string methods toString,toUppercase,toLowercase,toChararray. Let’s see them one by one with examples. String toString(): This method returns itself i.e. a same string. public class StringMethodsEx { public static...