Computer Science, asked by Subham5972, 1 year ago

why z a class known as compositive data type......????

Answers

Answered by Robotron
2
because it is always created by the user or is always user defined
it can also be said because they are always derived from primary data type
Answered by cyrusbishop
0

Answer:

Class is a prototype of an object which contains all fundamental data types like byte, short, int, long, float, double, char and boolean.

Any data type that is based on primitive data types are known as composite data type. Since class uses these data types to perform various tasks, so class is also known as composite data type.

Similar questions