String Methods

In this lesson, we will see the functionality of inbuilt methods in String Class.


Java provides special support for the concatenation of multiple Strings. Concatenation is referred to as the joining of two or more Strings. This is done by the use of the + operator. The code below shows an example of both.

Did you know? The interesting thing is that the + operator can be used to not only join a String with other Strings but also join Strings with other types of objects.

Get hands-on with 1200+ tech skills courses.