Why classes are known as abstract data types (ADT)?

5. Why classes are known as abstract data types (ADT)?

  1. Because classes are user-defined data types
  2. Because it supports the theory of hierarchical classification
  3. Because it allows dynamic binding
  4. 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).

Comments and Discussions!

Load comments ↻






Copyright © 2024 www.includehelp.com. All rights reserved.