List of Keywords in Java

Written by

studymite

Before writing any code in Java, we should be aware of certain terms that form an integral part of your code.

They are called Reserved Words or Keywords.

Keywords can be defined as those special words that are predefined in the system and cannot be used for any other task except the one it is meant for.

Java has a set of keywords:

case switch else break static
do const throws float char
try int double void goto
for while new import boolean
long if byte package private
catch short public class default

Using these keywords, we write programs in Java.

List of Keywords in Java