1. Why is a class known as composite data type?
Answers
Answered by
10
Answer:
A composite data type is one which is composed with various primitive data type. A class defined with various primitive data types such as int, double etc; so it is known as a composite data type; and it is used to create objects which hold similar types of values and behaviours (functions).
Explanation:
please follow me and mark me as brainliest
Answered by
2
Answer:
In computer science, a composite data type or compound data type is any data type which can be constructed in a program using the programming language's primitive data types and other composite types. ... The act of constructing a composite type is known as composition.
Explanation:
HOPE IT HELPS!!!!!
Pls mark me as the brainliest
Similar questions