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

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

1.Prints 2.5

2.Raises an exception

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

4.None of these

Posted Date:-2021-10-25 05:10:46


More MCQS Questions and answers

Search
R4R Team
R4Rin Top Tutorials are Core Java,Hibernate ,Spring,Sturts.The content on R4R.in website is done by expert team not only with the help of books but along with the strong professional knowledge in all context like coding,designing, marketing,etc!