What is a string class explain any 5 string handling functions in Java?

Java String class provides a lot of methods to perform operations on strings such as compare(), concat(), equals(), split(), length(), replace(), compareTo(), intern(), substring() etc. The java.lang.String class implements Serializable, Comparable and CharSequence interfaces.

Sizin İçin Seçtik  How do you replace all strings in a string in Java?

Leave a Reply

Your email address will not be published. Required fields are marked *