Computer Science, asked by kushal393371, 6 months ago

why object is instance of a class and why class is an object factory​

Answers

Answered by Anonymous
2

a) A class is called an object factory because objects are created from a class. An object is an instance of a class. ... c)The creation of an instance is called instantiation. In class-based programming, objects are created from classes by subroutines called constructors, and destroyed by destructors.

Similar questions