Skip to content
ALIEN COMPASS
Java OOP Quiz
Java OOP Quiz
15 Standard MCQ Questions
Participant:
Loading…
1. What is a Class in Java?
Blueprint of an object
A variable
A method
2. What is an Object?
Instance of a class
Function
Package
3. Which keyword is used to create an object?
new
create
make
4. What is Encapsulation?
Hiding data
Inheritance
Compilation
5. Constructor is used for?
Object initialization
Deletion
Compilation
6. Which keyword is used for inheritance?
extends
implement
inherit
7. Polymorphism means?
Many forms
Single form
No form
8. Method Overloading is?
Same method, different parameters
Same method, same parameters
Different method name
9. What is Inheritance?
Hiding data
Acquiring properties of another class
Running code
10. Which keyword is used for method overriding?
@Override
override
over
11. What is abstraction?
Hiding implementation details
Showing everything
Deleting data
12. Which keyword prevents a class from being inherited?
final
static
private
13. Static members belong to?
Object
Class
Method
14. What does JVM stand for?
Java Virtual Machine
Java Variable Method
Joint Virtual Model
15. Which is correct object creation?
Student s = new Student();
new Student s();
Student = new object();
Submit Quiz
🎉 Result
View Leaderboard