Keywords are words that are given specific meanings in Java. These keywords cannot be used to define identifiers
There are a total of 45 keywords in Java, among which we can classify them as follows:
1 .Data type (8) byte short int long float double char boolean
2. Access qualifier (3) public(public) protected(protected) private(private)
3. Commonly used in programs: abstrac (define abstract class) extends (subclass inherits parent class) interface (defines interface) implements (implements interface) package (references a package) new (creates object) super (used to call methods of parent class) this (the object of the calling method) void (return value type) class (define a class) break (jump to the end of the switch statement) continue (end the current loop) return (end the entire function) default switch case do while if else for import static final
Since I have just started, I have not fully mastered the usage of all keywords. These 35 have been learned
4. What I have not learned yet: catch finally instanceof strictfp synchronized throws transient try volatile