Important Java Mcq 1

Which of these is not a fundamental feature of OOP?

a) Encapsulation

b) Inheritance

c) Instantiation

d) Polymorphism

Answer:

c) Instantiation

Explanation:

OOP stands for Object-Oriented Programming. Procedural programming is about writing procedures or methods that perform operations on the data, while object-oriented programming is about creating objects that contain both data and methods. inheritance, abstraction, polymorphism, etc. Instantiation simply refers to the creation of an instance of a class. It is not a fundamental feature of OOP.

Related MCQs
Aniket Malik

Aniket Malik

CERTIFIED TUTOR/TRAINER WITH 300+ REVIEWS

Facing difficulty with

this concept?