KnowledgeBoat Logo
LoginJOIN NOW

Computer Applications

Why can a keyword not be used as a variable name?

Values & Data Types Java

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


Related Questions