Welcome to www.mcqtutorial.com!!!!
      
      
MCQ Tutorial Search
Home Search Add Question Today's History Discussion Board Job Portal JAVA

Core JAVA

Multi Threading
Collection JDBC SWING SERVLET JSP Advance Java Other Struts Hibernate Mock Test Contact Feedback
Home
Search
Add Question
Today's History
Discussion Board
Job Portal
JAVA

Core JAVA

Multi Threading
Collection
JDBC
SWING
SERVLET
JSP
Advance Java Other
Struts
Hibernate
Mock Test
Subscribe/Unsubscribe
Email:
Social Media
Facebook

Misc Tutorials

References

Question and Answer Tutorial
Tutorials Point
Stack Overflow

MCQ Tutorial - JAVA->Core JAVA

First Previous 1 2 3 4 5 6 Next Last
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
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 = {
3.) Which is a reserved word in the Java programming language?
Options are:
A.) subclasses
B.) native
C.) reference
D.) method
4.) Which is a valid keyword in java?
Options are:
A.) unsigned
B.) string
C.) Float
D.) interface
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
First Previous 1 2 3 4 5 6 Next Last
Comment:
Name:Email:
Contact No.:
Copyright © 2014 by SBJ Group. All Rights Reserved. Developed and maintained by SBJ Group. Supported on Internet Explorer browser only