Join Now
Home Aptitude Reasoning DI VA GK CA CA Hindi Quiz Placements
@classmethod
@staticmethod
@property
All of the above
def
class
method
function
str
init
repr
new
An abstract class cannot be instantiated
An abstract class must contain at least one abstract method
An abstract class can be inherited by another class
It is used to call a method in the parent class
It is used to call a method in the current class
It is used to call a method in a child class
None of the above
The ability of an object to take on many forms
The process of defining two methods with the same name in a class
The process of defining a variable in a class
The process of calling methods from other classes
eq
cmp
lt
gt
A class can inherit from multiple classes at the same time
A class can inherit from only one class at a time
Multiple inheritance is not supported in Python
hash
ne