Java keywords (Java 8 version)

definition

  • Special meanings are given by the Java language and are used as strings (words) for special purposes. These keywords cannot be used for constants, variables, and the names of any identifiers.

Java keywords (Java 8 version)

Java keywords (Java 8 version)

Java keywords (Java 8 and later)

insert image description here

Precautions

  • true, false, and , null look like keywords, but they are actually literals; you cannot use them as identifiers in a program.

Guess you like

Origin blog.csdn.net/m0_54850467/article/details/126728039