What will be output?
String S1 = "S1 ="+ "123"+"456";String S2 = "S2 ="+(123+456);
String S1 = "S1 ="+ "123"+"456";String S2 = "S2 ="+(123+456);What will be output?
String S1 = "S1 ="+ "123"+"456";String S2 = "S2 ="+(123+456); Correct Answer S1=123456, S2=579
If a number is quoted in "" then it becomes a string, not a number any more.
মোঃ আরিফুল ইসলাম
Feb 20, 2025