0% found this document useful (0 votes)
8 views1 page

Java OOPs MCQ Sample

The document contains a series of multiple-choice questions related to Object-Oriented Programming (OOP) concepts in Java. It covers topics such as features of OOP, the purpose of constructors, inheritance keywords, method overloading, and abstraction. Each question presents four options to choose from.

Uploaded by

kaishwarya978
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
8 views1 page

Java OOPs MCQ Sample

The document contains a series of multiple-choice questions related to Object-Oriented Programming (OOP) concepts in Java. It covers topics such as features of OOP, the purpose of constructors, inheritance keywords, method overloading, and abstraction. Each question presents four options to choose from.

Uploaded by

kaishwarya978
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

1. Which of the following is not a feature of OOP in Java?

- Encapsulation

- Inheritance

- Platform independence

- Polymorphism

2. What is the purpose of a constructor in Java?

- To destroy objects

- To initialize objects

- To call main method

- To create classes

3. Which keyword is used for inheritance in Java?

- implements

- import

- extends

- inherits

4. Which concept allows multiple methods with the same name but different parameters?

- Inheritance

- Polymorphism

- Encapsulation

- Abstraction

5. Which of the following is used to achieve abstraction in Java?

- Interface

- Class

- Object

- Method Overloading

You might also like