1.】 Name the tokens available in Java.
2.】 What are keywords ?
3.】 What is an identifier ? What is the identifier forming rule of Java?
Answers
Answered by
4
(1) Keywords
Identifiers
Literals
Operators
Separators
(2) Keywords are special words which contain special meaning like 'new, this, super, public, static, int, boolean' etc.
(3)
- It can be made using some or all of these - digits, uppercase and lowercase letters, underscore.
- Nothing else can be used for naming a identifier.
- A identifier should start with a letter or a underscore.
- Identifiers are case sensitive i.e. int Age and int age are different
.
.
.
.
HOPE THIS HELPS YOU
.
.
.
.
PLEASE MARK AS BRAINLIEST AND FOLLOW ME TOO
Similar questions