Question: Which of the following statements about private attributes in Python is correct? Group of answer choices Private attributes can be accessed directly using their original

Which of the following statements about private attributes in Python is correct?
Group of answer choices
Private attributes can be accessed directly using their original names.
Private attributes are completely inaccessible from outside the class.
Private attributes can be accessed only in subclasses.
Private attributes can be accessed from outside the class using name mangling (e.g.,_ClassName__attribute)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!