MCQ
Which of the following protects data by making them inaccessible from outside?
  • A
    Data abstraction
  • Encapsulation
  • C
    Inheritance
  • D
    Polymorphism

Answer

Correct option: B.
Encapsulation
B

Need a full question paper?

Generate a complete, print-ready paper with questions like this in minutes — across 16+ boards, with answer keys.

Start Generating Free