Advertisements
Advertisements
Question
What is instantiation?
Short Note
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?
APPEARS IN
RELATED QUESTIONS
Which of the following are the key features of an Object-Oriented Programming language?
Which of the following are the key features of an Object-Oriented Programming language?
Functions defined inside a class: ______
Which of the following class declaration is correct?
The process of creating an object is called as: ______
What is the class?
Write a menu-driven program to add or delete stationery items. You should use a dictionary to store items and the brand.