πŸ“Š JAVA
Q. The following fraction of code
Code:
double STATIC = 2.5 ;
System.out.println( STATIC );
  • (A) Prints 2.5
  • (B) Rraises an error as STATIC is used as a variable which is a keyword
  • (C) Raises an exception
  • (D) None of these
πŸ’¬ Discuss
βœ… Correct Answer: (A) Prints 2.5

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
62
Total Visits
πŸ“½οΈ
12 mo ago
Published
πŸŽ–οΈ
Pooja
Publisher
πŸ“ˆ
85%
Success Rate