Question OOP-ENC-0074
HardIn Python, why are single-underscore attributes still accessible from outside?
- A.
They are actually private
- B.
Python relies on convention rather than enforcement for privacy
- C.
It is a bug
- D.
Underscores are ignored
Sign up free to see the answer and a step-by-step explanation.