Java - MCQ
Multiple Choice Questions
Java - Multiple Choice Questions (MCQ) - Introduction to Java - Set 9
41. Which of the following is a type of polymorphism in Java?
A). Compile time polymorphism
B). Execution time polymorphism
C). Multilevel polymorphism
D). Multiple polymorphism
View Answer
Correct: A
42. Which concept of Java is a way of converting real world objects in terms of class?
A). Encapsulation
B). Polymorphism
C). Abstraction
D). Inheritance
View Answer
Correct: C
43. Which concept of Java is achieved by combining methods and attribute into a class?
A). Encapsulation
B). Polymorphism
C). Inheritance
D). Abstraction
View Answer
Correct: A
44. Which component is used to compile, debug and execute java program?
A). JVM
B). JDK
C). JRE
D). JIT
View Answer
Correct: B
45. Which component is responsible for converting bytecode into machine specific code?
A). JVM
B). JDK
C). JIT
D). JRE
View Answer
Correct: A