Single Choice Not Set

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

ID: #2012 Java Data Types and Variables - MCQ 1,452 views
Question Info
#2012Q ID
Not SetDifficulty
Java Data Types and Variables - MCQTopic

Choose the Best Option

Click any option to instantly check if you're correct.

  • 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 ✔ ✖
Correct Answer

Explanation

Prints 2.5
Today: 0 answered · 0 correct
Save progress
Free account

Want to remember what you got wrong?

Create a free account in seconds to track your score, revisit mistakes and continue Programming Language where you left off.

  • Save your progress & streak
  • Topic-wise quizzes & scores
  • Bookmark tricky questions
  • Printable MCQ sets
Practice smarterFree account · save progress
Sign up free

Share This Question

Challenge a friend or share with your study group.