Join Now
Home Aptitude Reasoning DI VA GK CA CA Hindi Quiz Placements
self
new
create
None of the above
To free up resources when an object is destroyed
To create a new object
To define variables in a class
To call methods from other classes
str
repr
cmp
hash
It is called when an object is created from a class
It is called when an object is deleted
It is used to define instance variables
static
def
classmethod
eq
ne
lt
It is used to check if a class is a subclass of another class
It is used to check if an object is an instance of a specific class
It is used to check if a class is an instance of another class
class
method
function
instance
var
The ability of an object to take on many forms
The process of creating a new class from an existing class
The process of hiding the implementation details of a class from its users