1.

The following fraction of code double STATIC = 2.5 ; System.out.println( STATIC );

A. Prints 2.5
B. Rraises an error as STATIC is used as a variable which is a keyword
C. Raises an exception
D. None of these
Answer» B. Rraises an error as STATIC is used as a variable which is a keyword


Discussion

No Comment Found

Related MCQs