MCQ
Single Best Answer
Not Set
QWhich one is a valid declaration of a boolean?
ID: #1990
Java Language Fundamental
27,442 views
Question Info
#1990Q ID
Not SetDifficulty
Java Language FundamentalTopic
Your Answer
Choose the Best Option
Click any option to instantly check if you're correct.
Correct Answer: Option C
Explanation
A boolean can only be assigned the literal true or false.
Continue Practice
Share
Share This Question
Challenge a friend or share with your study group.
More from This Topic