String str1 = "GoodMorning"; String str2 = "Good"; String str3 = "Morning"; str2 += str3; // Line 4 System.out.println("str2 == str1"); // output is false.
System.out.println("str2 == str1"); // output is false.
str1
str3
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)