Advertisements
Advertisements
Question
Identify, given that.
This can be called an object factory.
Very Short Answer
Advertisements
Solution
class
Explanation:
- A class is called an object factory because it is a blueprint used to create objects.
- It defines the data members and methods that the objects will have.
shaalaa.com
Is there an error in this question or solution?
Chapter 2: Class as the Basis of all Computation - Exercises [Page 65]
