Strings in java

Let’s learn strings in java. Strings in java In java, string is an object. It is sequence of character values enclosed by double quotes. java.lang.String class is used to create string object. For example: String name = “Sachin”; String class implements Serializable, Comparable and CharSequence interfaces. Syntax: public final class String NOTE: String object is…

Read More Strings in java