The practice of creating objects based on predefined classes is often referred to as ______________

The practice of creating objects based on predefined classes is often referred to as ______________
A. class creation
B. object creation
C. object instantiation
D. class instantiation
 
Answer: d
Explanation: In object-oriented programming, classes are the blueprints of php objects. Classes do not actually become objects until instantiation is done. When someone instantiates a class, it creates an instance of it, thus creating the object. In other words, instantiation is the process of creating an instance of an object in memory.
 

Tìm kiếm

Back
Top