why object is instance of a class and why class is an object factory
Answers
Answered by
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
Biology,
3 months ago
Science,
3 months ago
Computer Science,
3 months ago
World Languages,
6 months ago
English,
6 months ago
Physics,
10 months ago
Math,
10 months ago
English,
10 months ago