Search This Blog

Friday, August 1, 2025

Java Keywords

 Keywords are the reserved words that have a predefined meaning in a programming language. I like to call them as action-associated or action-oriented words. Whenever you use a specific keyword, you are sure that a certain action will take place.

Java has 52 keywords, and some of the keywords are not used, like goto. Java has reserved identifiers or contextual keywords, such as exports, module, and others. And then there are literal values mistaken for keywords, like true, false, and null.

Which of the following is not a keyword of Java?

a) strictfp

b) synchronized

c) var

d) instanceof

e) volatile


Created by Nancy K.A.N.

@12:29 01-Aug-2025


Follow my blog and YouTube channel (@CodingWithNancy)

No comments:

Post a Comment