MCQ Single Best Answer Easy

QIn OOP, what is encapsulation?

ID: #20072 Basic Concept of OOP 115 views
Question Info
#20072Q ID
EasyDifficulty
Basic Concept of OOPTopic

Choose the Best Option

Click any option to instantly check if you're correct.

  • A Exposing all internal details
  • B Combining unrelated functions
  • C Hiding internal details and exposing a well-defined interface
  • D Avoiding the use of objects
Correct Answer: Option C

Explanation

Encapsulation in OOP involves concealing the internal workings of an object and exposing only a well-defined interface, promoting modular and secure software design.

Share This Question

Challenge a friend or share with your study group.