Language Fundamentals

Q1: Which is a valid keyword in java?

A Float

B string

C unsigned

D interface

ANS:A - interface

interface is a valid keyword. Option B is wrong because although "String" is a class type in Java, "string" is not a keyword. Option C is wrong because "Float" is a class type. The keyword for the Java primitive is float. Option D is wrong because "unsigned" is a keyword in C/C++ but not in Java.

img not found

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.