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

A. Raises an exception

B. None of these

C. Prints 2.5

D. Raises an error as STATIC is used as a variable which is a keyword

Found an error? Read our corrections policy and submit a sourced correction below. You can also share a useful explanation in your own words.

Discuss the answer or suggest a sourced correction
Thank you for contributing.
Your comment was submitted and will appear after editorial review.

Your email is used only for moderation and is never displayed. Spam, copied material and fabricated endorsements are rejected.