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.


Signature

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

public String concat(String anotherString)



Parameter

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


Returns

combined string


Java String concat() method example

Flash soon



Copyright 2017 Design& Development