Sail E0 Webinar
Question
Int ++a = 100 ;
System.out.println( ++a ) ;
What will be the output of the above fraction of code ?
Options:
A .  100
B .  Displays error as ++a is not enclosed in double quotes in println statement
C .  Compiler displays error as ++a is not a valid identifier
D .  None of these
Answer: Option C

Submit Your Solution Below and Earn Points !
Next Question

Submit Solution

Your email address will not be published. Required fields are marked *

More Questions on This Topic :


Latest Videos

Latest Test Papers