| 1.) Which one of these lists contains only Java programming language keywords? | | Options are: | | A.) try, virtual, throw, final, volatile, transient
| | B.) goto, instanceof, native, finally, default, throws
| | C.) strictfp, constant, super, implements, do
| | D.) class, if, void, long, Int, continue
| | Correct Option: B | | | | | | | 2.) Which will legally declare, construct, and initialize an array? | | Options are: | | A.) int [] myList = (5, 8, 2);
| | B.) int myList [] = {4, 3, 7};
| | C.) int myList [] [] = {4,9,7,0};
| | D.) int [] myList = {
| | Correct Option: B | | | | | | | 3.) Which is a reserved word in the Java programming language? | | Options are: | | A.) subclasses
| | B.) native
| | C.) reference
| | D.) method
| | Correct Option: B | | | | | | | 4.) Which is a valid keyword in java? | | Options are: | | A.) unsigned
| | B.) string
| | C.) Float
| | D.) interface
| | Correct Option: D | | | | | | | 5.) Which three are legal array declarations? 1.) int [] myScores []; 2.) char [] myChars; 3.) int [6] myScores; 4.) Dog myDogs []; 5.) Dog myDogs [7]; | | Options are: | | A.) All are correct
| | B.) 2, 4, 5
| | C.) 2, 3, 4
| | D.) 1, 2, 4
| | Correct Option: D | | | | | | |