Q. Which prefix indicates a protected attribute?
Solution:
_salary indicates a protected attribute, a convention in Python.
Get Question Bank
Strengthen Your Practice with our comprehensive question bank.
_salary indicates a protected attribute, a convention in Python.
Strengthen Your Practice with our comprehensive question bank.