Computer Applications

What does the token 'keyword' refer to in the context of Java? Give an example for keyword.

Values & Data Types Java

ICSE 2011

10 Likes

Answer

Keywords are reserved words that have a special meaning for the Java compiler. Java compiler reserves these words for its own use so Keywords cannot be used as identifiers. An example of keyword is class.

Answered By

4 Likes