Home  >  Article  >  Java  >  Is then a java keyword?

Is then a java keyword?

angryTom
angryTomOriginal
2019-11-14 10:37:274082browse

Is then a java keyword?

then is a java keyword

then is not a java keyword, nor is it a java reserved word .

Java keyword list (51 keywords, 2 reserved words):

Access control: private protected public

Definition Classes, interfaces, abstract classes and implementation interfaces, keywords of inherited classes, instantiated objects: class abstract interface extends implements new

Modify methods, classes, properties and variables: static final super this native strictfp synchronized transient volatile

Program control statement: break continue return do while if else for instanceof switch case defautl

Error handling: try catch final throw throws assert

Package related: import package

Basic type: boolean byte char double float int long short null true false enum

Variable reference: super this void

Reserved word: const goto

Correct identification The keywords and reserved words of the Java language are very important. Java keywords have special meaning to the Java compiler. They are used to represent a data type, or to represent the structure of a program, etc. Reserved words are keywords reserved for Java. Although they are not used as keywords now, they may be used as keywords in future upgraded versions.

Notes

Identify the keywords of the java language and do not confuse them with the keywords of other languages ​​such as c/c.

All keywords are lowercase

php Chinese website, a large number of free Java introductory tutorials, welcome to learn online!

The above is the detailed content of Is then a java keyword?. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Previous article:How to set path in java?Next article:How to set path in java?

Related articles

See more