Sail E0 Webinar
Question
What is the output for the below code?public class Test{ int _$; int $7; int do; public static void main(String argv[]){ Test test = new Test(); test.$7=7; test.do=9; System.out.println(test.$7); System.out.println(test.do); System.out.println(test._$); }}
Options:
A .  Compile error - $7 is not valid identifier.
B .  7 9 0
C .  Compile error - do is not valid identifier.
D .  None of these
E .  7 0 0
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