Vidyalelo
Python · Q5

Classes and Objects in Python

Programming · Python · question 5

Q5

What is the purpose of the self parameter in Python methods?

A.
It refers to the instance of the object
Answer
B.
It refers to the class
C.
It refers to the method
D.
It refers to the attribute

Answer: Option A

Solution

Answer: Option A
No explanation is given for this question Let's Discuss on Board