InterviewSolution
Saved Bookmarks
| 1. |
What is the use of __ init __ in Python? |
|
Answer» The "init" is an example of a reserved METHOD in python classes. It is actually KNOWN as a constructor in the object-oriented CONCEPTS and techniques. It is CALLED when an object is CREATED within a class, and then it allows the same class to initialize the attributes within. |
|