MCQ Single Best Answer Not Set

QWhich type of literal is assigned to the variable "result"?
boolean result = true;

ID: #2091 Literals in Java - MCQ 964 views
Question Info
#2091Q ID
Not SetDifficulty
Literals in Java - MCQTopic

Choose the Best Option

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

  • A string
  • B boolean
  • C bool
  • D char
Correct Answer: Option B

Explanation

boolean

Share This Question

Challenge a friend or share with your study group.