Computer Science, asked by Yathish68, 6 months ago

d) Why class is called user defined data type?​

Answers

Answered by singhvaishnavi7002
4
Java language uses some pre-defined data types such as int, float and char. ... 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

Hope it will help you
Answered by priya141723
0

The name of the class along with different data and method are defined by the user on their choice using some rules That is why, a class can be called as user defined data type

Similar questions