Single Choice Easy

QWhich of the following principle does not allow to access directly from outside the class premises?

ID: #22013 Basic Concept of OOP 87 views
Question Info
#22013Q ID
EasyDifficulty
Basic Concept of OOPTopic

Choose the Best Option

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

  • A data hiding
  • B encapsulation
  • C abstraction
  • D all of the above
Correct Answer

Explanation

all of the above

Reason — Data hiding, Encapsulation and Abstraction, all the three restrict direct access to data from outside a class.

Share This Question

Challenge a friend or share with your study group.