1. Home
  2. Data Science
  3. Python
  4. What does self refer to in an instance method in Python?

Added 25 Nov 2026

What does self refer to in an instance method in Python?

  1. The current instance Correct answer
  2. The class
  3. The parent class
  4. The module

Correct answer

A. The current instance

MCQSEXAM

Explanation

self is the conventional name for the instance the method is called on.

Reference

Asked in: Python Interview OOP

https://docs.python.org/3/tutorial/classes.html

Preparing for an exam?

Doubts & discussion

Not sure why the answer is A? Ask here and get an explanation.

Ask a doubt about this MCQ

Shown after review. No links please.

More Python MCQs

Practise all Python MCQs

Similar MCQs