Use the correct method to concatenate two strings:
String firstName = "John ";
String lastName = "Doe";
System.out.println(firstName.@(6)(lastName));
String firstName = "John ";
String lastName = "Doe";
System.out.println(firstName.concat(lastName));