5. By doing this you can hide a class’s attribute from code outside the class.
a. avoid using the self parameter to create the attribute
b. begin the attribute’s name with two underscores
c. begin the name of the attribute with private__
d. begin the name of the attribute with the @ symbol
The correct option is b.begin the attribute’s name with two underscores.
One can hide a class’s attribute from code outside the class ,by beginning the attribute’s name with two underscores.