Java String

String in Java

String in Java is a sequence of characters. In other programming languages like C and C++, string is implemented as array of characters while in Java string is implemented as object of String class. String class is defined in java.lang package. StringBuffer and StringBuilder class is also used to create string in Java. We will …

String in Java Read More »