1. Home
  2. Data Science
  3. Python
  4. What does super() do in Python?

Added 25 Nov 2026

What does super() do in Python?

  1. Gives access to methods of the parent class Correct answer
  2. Creates a superclass
  3. Calls the child constructor
  4. Deletes the parent class

Correct answer

A. Gives access to methods of the parent class

6 views

MCQSEXAM

Explanation

super() returns a proxy to call parent-class methods.

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