Java String concat() Method

In this tutorial, we will learn about Java String concat() Method.

String class in Java provides concat() method to concatenate multiple strings. In this tutorial we will learn how to concatenate strings using concat() method from String class. Java String concat() method returns concatenated String.

The syntax of concat() method is:

concat() method concatenates the specified string to the end of this string.

Example:

Output:

You can learn String charAt() method at Java String charAt() method.