Important Java Mcq 1

Which of the following cannot be used as identifiers in java?

a. variable names

b. class names

c. key words

d. objects

Answer:

c. key words

Explanation:

We cannot use keywords like int, float , etc as identifiers in Java.

Related MCQs
Aniket Malik

Aniket Malik

CERTIFIED TUTOR/TRAINER WITH 300+ REVIEWS

Facing difficulty with

this concept?