‹ Back to the paper
Question 48
1 mark
Computer ScienceISC Computer Science - Competency Focused Practice Questions (CISCE, August 2024)OutputArrays, Strings
What is the output of the following code?
Find the output of following snippet: String S1 = "AB", S2 = "BC"; for(int i = 0, j = 0; i <…
Find the output of following snippet:
String S1 = "AB", S2 = "BC";
for(int i = 0, j = 0; i < S1.length(); i++, j++)
System.out.println(S1.charAt(i) + S2.charAt(j));Answer
Answer
131
133