Java MCQ - English
Which is a valid keyword in java?
interface
string
Float
unsigned
Answer : A
View More Related Question
1) Which one of these lists contains only Java programming language keywords?
class, if, void, long, Int, continue
goto, instanceof, native, finally, default, throws
try, virtual, throw, final, volatile, transient
strictfp, constant, super, implements, do
View Answer
2) Which is a reserved word in the Java programming language?
3) Which three are legal array declarations?
4) Which will legally declare, construct, and initialize an array?
int [] myList = {"1", "2", "3"};
int [] myList = (5, 8, 2);
int myList [] [] = {4,9,7,0};
int myList [] = {4, 3, 7};
View Answer
5) Which is a valid keyword in java?