When a double underscore ( __ ) is used at the start of an attribute name, Python _________________________________________. Group of answer choices saves the information in the property in a file deletes the value after it is accessed mangles the name and to avoid name clashes with names defined by subclasses. treats the properties as comments python

Respuesta :

In Python, double underscore is often used before the attribute's name and the attributes will not be directly accessible/visible outside.

When a double underscore ( __ ) is used at the start of an attribute name, Python mangles the name and to avoid name clashes with names defined by subclasses.

Double underscore is known to mangles the attribute's Name. The prefix is said to make the Python interpreter to rewrite the attribute name so as to avoid naming conflicts in subclasses. This term is referred to as mangling.

When mangling, the interpreter alters the name of the variable so as to avoid conflict when the class is extended later.

Conclusively, Double Underscore before and after a Name can be used as __init__ and they can also be used by Python.

Learn more from

https://brainly.com/question/19150495

ACCESS MORE
EDU ACCESS