Why class is a user defined data types
Answers
Answered by
0
because it is essentially..for that..
Answered by
0
Answer:
Java language uses some pre-defined data types such as int, float and char.
These data types are also known as composite data type, which provide some preliminary facilities in Java programming. Similarly, a user may create a data type and declare certain characteristics and behaviour within it. This can be done by using a class.
This is the reason why a class is referred as user defined data type.
Similar questions