English

What is instantiation?

Advertisements

Question

What is instantiation?

Short/Brief Note
Advertisements

Solution

Once a class is created, next, you should create an object or instance of that class. The process of creating an object is called “Class Instantiation”.
Syntax:
object_name = class_name( )

shaalaa.com
Introduction to Python Classes and Objects
  Is there an error in this question or solution?
Chapter 10: Python Classes and objects - Evaluation [Page 187]
Advertisements
Share
Notifications



      Forgot password?
Use app×