✏️ Explanatory Question
String A ="26", B="100"; String D=A+B+"200"; int x= Integer.parseInt(A); int y = Integer.parseInt(B); int d = x+y; System.out.println("Result 1 = " + D); System.out.println("Result 2 = " + d);
Output of the above code is:
Result 1 = 26100200
Result 2 = 126
String D=A+B+"200"; joins A, B and "200" storing the string "26100200" in D.