Home »
MCQs »
OOPs MCQs
Why classes are known as abstract data types (ADT)?
5. Why classes are known as abstract data types (ADT)?
- Because classes are user-defined data types
- Because it supports the theory of hierarchical classification
- Because it allows dynamic binding
- Because it uses the concept of data abstraction
Answer: D) Because it uses the concept of data abstraction
Explanation:
Since classes use the concept of data abstraction therefore they are known as Abstract data types (ADT).