Important Java Mcq 1

Which of the following is not a java keyword?

a. double

b. then

c. switch

d. instanceof

Answer:

b. then

Explanation:

Valid keywords in java are double, int , switch, etc.

Related MCQs

A constructor

a. Must have the same name as the class it is declared within. b. fIs used to create objects. c. May be declared private d. (a),

Aniket Malik

Aniket Malik

CERTIFIED TUTOR/TRAINER WITH 300+ REVIEWS

Facing difficulty with

this concept?