Computer Applications
Why is a class known as composite data type?
Objects & Classes
144 Likes
Answer
When a user creates a class, it becomes a data type for his program. This data type includes different primitive types such as int, float, char, etc. Thus, class is referred to as a user defined data type or Composite Data Type.
Answered By
85 Likes