हिंदी

What is instantiation?

Advertisements

प्रश्न

What is instantiation?

टिप्पणी लिखिए
Advertisements

उत्तर

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
  क्या इस प्रश्न या उत्तर में कोई त्रुटि है?
अध्याय 10: Python Classes and objects - Evaluation [पृष्ठ १८७]
Advertisements
Share
Notifications



      Forgot password?
Use app×