Advertisements
Advertisements
Question
Name five Java reserved words which are commonly used in Java programming.
Answer in Brief
Solution
Java uses several keywords, such as switch, case, break, default, if, else, for, do, while, public, int, double, etc. Goto and const are two reserved terms that are not currently used. True, false, and null are reserved literals.
shaalaa.com
Is there an error in this question or solution?
Chapter 1.05: Introduction to Java - EXERCISES [Page 54]