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

A. Prints 2.5
B. Raises an exception
C. Raises an error as STATIC is used as a variable which is a keyword
D. None of these
✅ The correct answer is option A.

Leave a Comment

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

Scroll to Top