Why do we use user defined classes?

Why do we use user defined classes?
A. To design a user intended code
B. To model real world objects
C. To design the interfaces
D. To model the functions
 
Answer: b
Explanation: The primitive classes are not sufficient for the programming complex algorithms. Some user defined classes are required to represent a real world object and to define a blueprint of what the class should actually contain. The user defined classes are as per the requirements and need of user.
 

Tìm kiếm

Back
Top