What is the output of the following code: for (loop = 1; loop <3; ++loop)
System.out.print(1) ;
for (loop2 = 1; loop2< 3; ++loop2)
System.out.print(2) ;
A) 112222
B) 1232212322
C) 122122
D) 122212221222
Correct Answer:
Verified
Q43: Match each term with the correct statement
Q44: Match each term with the correct statement
Q45: Match each term with the correct statement
Q46: Match each term with the correct statement
Q47: What is the output of the following
Q49: Match each term with the correct statement
Q50: Match each term with the correct statement
Q51: Match each term with the correct statement
Q52: Match each term with the correct statement
Q53: Match each term with the correct statement
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents