What is the output of the following code?
Int age = 33;
If ( age > 33 )
System.out.print( 1 ) ;
System.out.println( 2 ) ;
A) 0
B) 1
C) 2
D) 12
E) No output
Correct Answer:
Verified
Q26: The execution of statements stops before the
Q27: The variable operation is not necessary for
Q28: The following process would work for creating
Q29: Which of the following expresses the condition
Q30: What is the output of the following
Q32: What is the output of the following
Q33: An else block is mandatory after an
Q34: When using an if/else if structure, it
Q35: When using an if/else if structure, we
Q36: A variable that is declared inside the
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