 
                 
                InterviewSolution
 Saved Bookmarks
    				| 1. | What do you mean by name mangling? Support your answer with relevant example. | 
| Answer» Name mangling of the double underscore makes the most sense for achieving “private-ness”. Now when a function is called from the ‘self’ instance and it notices that it starts with ‘_’, it just performs the name mangling right there. Name mangling is helpful for letting sub-classes override methods without breaking intra class method calls. | |