1552Software EngineeringMedium
The following fraction of code double STATIC = 2.5 ; System.out.println( STATIC );?
ARaises an error as STATIC is used as a variable which is a keyword
BPrints 2.5
CNone of these
DRaises an exception
Correct answer
B. Prints 2.5
Explanation
The correct answer is Prints 2.5.