TutorialStudyMite

List of Keywords in Java

Sstudymite1 min read
Beginner friendly

Track completion, mastery, and revision.

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:

caseswitchelsebreakstatic
doconstthrowsfloatchar
tryintdoublevoidgoto
forwhilenewimportboolean
longifbytepackageprivate
catchshortpublicclassdefault

Using these keywords, we write programs in Java.

Finished reading?

Was this helpful?

Your feedback shapes better tutorials for everyone.