Which of these cannot be used for a variable name in Java?
A. identifier & keyword
B. identifier
C. keyword
D. none of the mentioned
Answer:C
Which of these cannot be used for a variable name in Java?
A. identifier & keyword B. identifier C. keyword D. none of the mentioned
Explanation: Keywords are specially reserved words that can not be used for naming a user-defined variable, for example: class, int, for, etc