Advertisements
Advertisements
प्रश्न
Why is a class called an object factory?
थोडक्यात उत्तर
उत्तर
Class is the prototype of an object. Each object belonging to a specific class possesses the data and functions defined within the class. It also produces the objects of similar type. Hence, a class is termed as an object factory.
shaalaa.com
या प्रश्नात किंवा उत्तरात काही त्रुटी आहे का?