d) Why class is called user defined data type?
Answers
Answered by
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
Hope it will help you
Answered by
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
Math,
3 months ago
Environmental Sciences,
3 months ago
Math,
3 months ago
Computer Science,
6 months ago
English,
6 months ago
Science,
1 year ago
English,
1 year ago