Description : List any four methods of string class and state the use of each.
Last Answer : The java.lang.String class provides a lot of methods to work on string. By the help of these methods, We can perform operations on string such as trimming, concatenating, converting, comparing, replacing ... " System.out.println(s2); Output: Kava is a programming language. Kava is a platform.