?
The following fraction of code
The following fraction of code
double STATIC = 2.5 ;
System.out.println( STATIC );
double STATIC = 2.5 ;
System.out.println( STATIC );
Join the Discussion
Login to post a comment or share your explanation.
Loginstatic (lowercase) is a reserved keyword and cannot be used as a variable name.
The code will compile successfully and print 2.5 unless you accidentally use the keyword static.
It's STATIC not static
The correct option is A.
So answer is option A .
So answer is option A .