A class is an Object factory. Justify the statement.
Answers
Answered by
6
Answer:
Explanation:A class is called an object factory because objects are created from a class. An object is an instance of a class. The following statements create two objects s1 and s2 of the class Student. ... Things are similar in the world of classes and objects.
Answered by
13
A class is also known as object factory because it describes a group of objects with similar properties , common behaviour and common logic. for example person , animal and furniture are all objects . Therefore, by grouping objects into classes one can abstract the problem , giving object modelling the power and ability to generate from few specific cases to a chain of similar cases.
hope this answer will be helpful ^_^
Similar questions
English,
5 months ago
English,
5 months ago
Physics,
5 months ago
Science,
9 months ago
India Languages,
1 year ago