Advertisements
Advertisements
Question
Which of the following class declaration is correct?
Options
class class_name
class class_name<>
class class_name:
class class_name[ ]
MCQ
Solution
class 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: ______
The process of creating an object is called as: ______
What is the class?
What is instantiation?
Write a menu-driven program to add or delete stationery items. You should use a dictionary to store items and the brand.