Computer Applications
Why can a keyword not be used as a variable name?
Values & Data Types Java
8 Likes
Answer
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
5 Likes
Related Questions
What is the result of evaluating the following expression?
(3 + 6 * 7) / 3 + 2Which of the following are Java keywords?
area, input, class, public, int, x, y, radius, long, Hello javaWhat is a token in Java? Name the tokens available in Java.
What are identifiers in Java? List three identifier formation rules.