Keywords in Java

Written By -

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.

Report Error/ Suggestion

Related Posts:

[yuzo_views]











CopyRight © 2019

CopyRight © 2019