+3 votes
in Class 12 by kratos

Aryamani is creating a simple application in Java called "Name Concatenator" in which he needs to concatenate the first name, middle name and last name input by the user in separate text fields. Name a method and an equivalent operator for this purpose.

1 Answer

+5 votes
by kratos
 
Best answer

Str.concat(str)

Operator '+' can be used

...