Java Keywords


Keywords are standard pre-defined words and these are all used in the lower case in the Java program. Keywords which can’t be used with the names for variables.

A set of 57 keywords that can use in Java program:


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

The const and goto are reserved keyword in Java. They are not currently in use.




OnlineTpoint is a website that is meant to offer basic knowledge, practice and learning materials. Though all the examples have been tested and verified, we cannot ensure the correctness or completeness of all the information on our website. All contents published on this website are subject to copyright and are owned by OnlineTpoint. By using this website, you agree that you have read and understood our Terms of Use, Cookie Policy and Privacy Policy.