Identifier in Java

Identifier in Java with Example

Identifiers are names given to a variable, class, method, or interface used in Java. Names that are not identifiers are known as literals. Some reserved words can not use as an identifier. Therefore, they must use as literals. Reserved words have specific meaning in Java and so cannot use as an identifier. Read this article to learn more about Reserved Words in Java.

In Java, an identifier can be a class name, method name, variable name, or label.

Source: Identifier in Java

Course: Free Core Java Tutorial

Comments

Popular posts from this blog

What is Data Type in Java?

Operators in Java - Types of Operators in Java

What is Core Java - Features of Java Programming