Home> Java> JavaBase> body text

Is then a java keyword?

angryTom
Release: 2019-11-14 10:37:27
Original
3986 people have browsed it

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 freeJava 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!

Related labels:
source:php.cn
Statement of this Website
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
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!