Why can't you use a keyword as a variable name?
37 Likes
Keywords are reserved words that have a special meaning to the Java compiler. As Java compiler reserves these words for its own use so they are not available as names for variables or methods.
Answered By
20 Likes
What is the result of evaluating the following expression?
(1 + 2 * 2) / 2 + 2
What is a token in Java? Name the tokens available in Java.
Which of the following are Java keywords?
input, class, public, int, x, y, radius
What are identifiers in Java? List three identifier formation rules.