Question: The following code has an error. What is it ? int x = 3 3 ; if ( x % 3 = = 0 )
The following code has an error. What is it
int ;
if
System. out.printA;
else
System.out.printB;
Select one
A There should be a ; after and
B is not a valid operator
C There should not be after the else
D There is no error in this code
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
