OOPS in Java MCQs Exercise I

Ques 1 OOPS


Which keyword is used to create a class.?

A new
B super
C public
D class

Ques 2 OOPS


Which keyword is used to create a object?

A new
B super
C public
D class

Ques 3 OOPS


Which Oops Concepts make the variable write or read only.?

A Polymorphism
B Inheritance
C Encapsulation
D Abstraction

Ques 4 OOPS


Which is following is the correct way to create an object in Java, class name is "Student".?

A Student obj = new Student();
B Student obj=null;
C obj = new Student()
D All of these