String concatenation is the operation of joining two or more string objects end to end. For example, the concatenation of two strings
"Foot" and "ball" is "Football" and the concatenation of three strings "Amar" , "Akbar" and "Anthony" is "AmarAkbarAnthony" etc.,
The string class includes
concat() method for concatenating two strings. The concat() method is also used for string literals. In general + operator is used for concatenation.
String Concatenation CODE class StringConcatenationTest OUTPUT AamAdmi DESCRIPTION At THINGS TO TRY
|