1. Home
  2. Data Science
  3. Python
  4. Which is called first when creating an instance: __new__…

Added 25 Nov 2026

Which is called first when creating an instance: __new__ or __init__ in Python?

  1. __new__ Correct answer
  2. __init__
  3. Both at once
  4. Neither

Correct answer

A. __new__

5 views

MCQSEXAM

Explanation

__new__ creates the instance and __init__ initialises it.

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