Q
The following fraction of code double STATIC = 2.5 ; System.out.println( STATIC ); ?
-
A
A. Prints 2.5
-
B
B. Raises an exception
-
C
C. Raises an error as static is used as a variable which is a keyword
-
D
D. None of these
Correct Answer:
A. A. Prints 2.5