Which of the following is a reserved keyword in Java?
A. object
B. strictfp
C. main
D. system
Answer:B
Which of the following is a reserved keyword in Java?
A. object B. strictfp C. main D. system
Explanation: In the above options, strictfp is the only reserved keyword of Java. The strictfp keyword is a modifier that restricts the floating-point calculations to assure portability and it was added in Java version 1.2. The objects are referring to those variables that are created using the new operator. In Java, main is the method that is the entry point of any program, and the System is a class.