First time here? Checkout the FAQ!
x
menu search
brightness_auto
more_vert

Which of these cannot be used for a variable name in Java?
a) identifier & keyword
b) identifier
c) keyword
d) none of the mentioned

thumb_up_off_alt 0 like thumb_down_off_alt 0 dislike

1 Answer

more_vert
 
verified
Best answer

Answer: c
Explanation: Keywords are specially reserved words that can not be used for naming a user-defined variable, for example: class, int, for, etc.

thumb_up_off_alt 0 like thumb_down_off_alt 0 dislike
...