Single Choice
Not Set
QWhich is a valid keyword in java?
ID: #1980
Java Language Fundamental
3,778 views
Question Info
#1980Q ID
Not SetDifficulty
Java Language FundamentalTopic
Your Answer
Choose the Best Option
Click any option to instantly check if you're correct.
Correct Answer
Explanation
interface is a valid keyword.
Option B is wrong because although "String" is a class type in Java, "string" is not a keyword.
Option C is wrong because "Float" is a class type. The keyword for the Java primitive is float.
Option D is wrong because "unsigned" is a keyword in C/C++ but not in Java.
Continue Practice
Share
Share This Question
Challenge a friend or share with your study group.
More from This Topic