Posted by: Pdfprep
Post Date: November 9, 2020
If any of a class’s components has a name that starts with two underscores (___), then:
A . the class component’s name will be mangled
B . the class component has to be an instance variable
C . the class component has to be a class variable
D . the class component has to be a method
Answer: A
Explanation:
Reference: https://hackernoon.com/understanding-the-underscore-of-python-309d1a029edc
Leave a Reply