Java MCQs | Online Java MCQs
Here you find all types of JAVA MCQs. From beginner to intermediate and advanced levels. Mixed Java multiple-choice questions for exams and job interviews. Basic Java MCQs. Experienced Java MCQ questions. Java CS exam MCQ.
1- Who developed/invented the Java language?
(A) M. P Java
(B) Charel Babbage
(C) Blais Pascal
(D) James Gosling
2- Which one of these is not a feature in the Java language?
(A) Exception Handling
(B) Binding between objects
(C) Bytecode is executed by JVM
3- What does multiple inheritance in Java mean?
(A) When many classes inherit from one super class
(B) When one class inherits from more super classes
(C) More classes inherit from more super classes
(D) None of the above
4- Which one of these is not a keyword in Java?
5- The operator ‘&’ returns what?
6- In which year Java was first released?
7- Which method returns the name of the class as a string?
8- Among these which has the highest precedence?
9- What is bytecode?
(A) code generated by a JVM
(B) It is the name of the Source File of Java
(C) code written in instance methods
(D) code that a Java Compiler generates
10- A random Java class found in which package?
(A) java.util package
(B) java.awt package
(C) java.io package
(D) java.lang package
ANSWERS: Java MCQs
1- (D) James Gosling
2- (C) Bytecode is executed by JVM
3- (B) When one class inherits from more super classes
4- (B) then
5- (D) Character
6- (A) 1995
7- (D) getName()
8- (C) ()
9- (D) code that a Java Compiler generates
10- (A) java.util package