Question

What is the purpose of the __init__() method in a class?

A To define a class attribute
B To define an instance attribute
C To initialize an object when it is created
D To define a class method
E To define an instance method
Practice Next

Hey! Ask a query

🎓
Think You're Ready for RBI Grade B?
RBI Grade B 2026 Phase 1 Memory Based Paper
  • 200 Questions with Detailed Solutions
  • Section-wise Coverage (GA, English, Quant & Reasoning)