✏️ Explanatory Question
[String]
Question:
Find the output of the 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));
}