Important Java Mcq 1

The process of recognizing and focusing on the important characteristics of a situation or an object is known as

a. Encapsulation

b. Abstraction

c. Polymorphism

d. Inheritance

Answer:

b. Abstraction

Explanation

The insulation of data from direct access by the program is called the data abstraction. Data abstraction also called data hiding, is the mechanism where the code and the data it manipulates are wrapped into a single unit.

Related MCQs
Aniket Malik

Aniket Malik

CERTIFIED TUTOR/TRAINER WITH 300+ REVIEWS

Facing difficulty with

this concept?