Give the reason why a class is known as:
An object factory
119 Likes
A class is called an object factory because objects are created from the class that contains common attributes and behaviour. The class behaves like a specification for creating such similar objects.
Answered By
67 Likes
A user-defined data type
Mention five possible attributes and three possible behaviours of the following entities:
Cloud
Explain in detail how a class is different from an object.
A composite data type