Java String

Santosh Anand Published on 06 July 2022

Generally, String is a sequence of characters. But in Java, string is an object that represents a sequence of characters. The java.lang.String class is used to create a string object.