pTutorial

New way to learn Programming

Java keywords with examples

Complete Java Keyword List

Java keyword – keyword is reserve word that are having some special meaning. There are 50 keywords in java programming language. All the fifty keywords are following below.

List of Java Keywords

abstract assert boolean break byte
case catch char class const
continue default do double else
enum extends final finally float
for goto if implements import
instanceof int interface long native
new package private protected public
return short static strictfp super
switch synchronized this throw throws
transient try void volatile while

Some points about keyword

1. All the Java keywords to be written in lower case letter.

2. We cannot use keywords as a class name, method name, data member name etc.

3. The const and goto are the keyword but not in use now.

4. true, false and null are literals, not keywords.


QUOTES OF THE DAY

Impossible is a word only be found in the dictionary of fools.

LIKE ON FACEBOOK

+1 ON GOOGLE

SHARE ON TWITTER