Language Fundamentals

Q1: Which is a reserved word in the Java programming language?

A array

B subclasses

C native

D method

E reference

ANS:B - native

The word "native" is a valid keyword, used to modify a method declaration. Option A, D and E are not keywords. Option C is wrong because the keyword for subclassing in Java is extends, not 'subclasses'.



img not found
img

For help Students Orientation
Mcqs Questions

One stop destination for examination, preparation, recruitment, and more. Specially designed online test to solve all your preparation worries. Go wherever you want to and practice whenever you want, using the online test platform.