
PYTHON CLASSES AND OBJECTS
QuizĀ by Karan Cindae
Tag the questions with any skills you have. Your dashboard will track each student's mastery of each skill.
Which of the following are the key features of an Object Oriented Programming language?
Functions defined inside a class:
Class members are accessed through which operator?
Which of the following method is automatically executed when an object is created?
A private class variable is prefixed with
Which of the following method is used as destructor?
Which of the following class declaration is correct?
Which of the following is the output of the following program?
class Student:
Ā Ā def __init__(self, name):
Ā Ā self.name=name
Ā Ā print (self.name)
S=Student(āTamilā)
Which of the following is the private class variable?
The process of creating an object is called as: