Why is class called object factory?
Answers
Answered by
29
Question: Why is class called object factory?
______________________________________
Solution.
⤵⤵⤵⤵⤵⤵⤵⤵⤵⤵⤵⤵⤵⤵
Class is a set of objects. Each object of a class possesses same attributes and common behaviour defined within the class. Since, an object is the product of a class it is also known as object factory.
⤴⤴⤴⤴⤴⤴⤴⤴⤴⤴⤴⤴⤴⤴
♯BE BRAINLY !
BARBIEGIRLL:
ggggggggggg
Answered by
6
【H】【e】【y】
✅..............✅..............✅...............✅...............✅..............✅
A class is called an object factory because objects are created from a class. An object is an instance of a class.
✅..............✅..............✅...............✅...............✅..............✅
Similar questions