java tutorial - Java Strings concat() method - java programming - learn java - java basics - java for beginners
Description
- Java - The concat () method - returns a string with the value of the string passed to the method and appended to the end of the string used to call this method.
- Simply put Java - The concat () method in Java combines strings by adding one line at the end to the other.
Syntax
The syntax of the method is:
Options
Detailed information about the parameters:
- s is the string added to the end of this line.
Return value
- In Java, concat () returns a string representing the result of combining the symbols of this object, followed by the argument of the character string.