Sail E0 Webinar
Question
Which of these can not be used for a variable name in Java?
Options:
A .  identifier
B .  keyword
C .  both a < b
D .  None of the mentioned
Answer: Option B


keywordKeywords are specially reserved words which can not be used for naming a user defined variable, example : class, int, for etc.



Was this answer helpful ?
Next Question

Submit Solution

Your email address will not be published. Required fields are marked *

Latest Videos

Latest Test Papers