KnowledgeBoat Logo

Computer Applications

Give the reason why a class is known as:

An object factory

OOP Intro Java

119 Likes

Answer

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


Related Questions