Java String concat

The java string concat() method combines specified string at the end of this string. It returns combined string. It is like appending another string.


The signature or syntax of string trim method is given below:

public String concat(String anotherString)


anatherString : another string i.e. to be combined at the end of this string.


combined string

Java String concat() method example

Flash soon

Copyright 2017 Design& Development