Sail E0 Webinar
Question
What are the methods which begin and end with two underscore characters called?
Options:
A .  Special methods
B .  In-built methods
C .  User-defined methods
D .  Additional methods
Answer: Option A


Special methods like __init__ begin and end with two underscore characters.



Was this answer helpful ?

Submit Solution

Your email address will not be published. Required fields are marked *

Latest Videos

Latest Test Papers