Home » Python Institute » PCAP » If any of a class’s components has a name that starts with two underscores (___), then:
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
Correct Answer: A
Explanation/Reference:
Reference: https://hackernoon.com/understanding-the-underscore-of-python-309d1a029edc
Download Printable PDF. VALID exam to help you PASS.
|
|