What does the @property decorator allow?
- A Accessing a method as though it were an attribute
- B Making an attribute read-only permanently
- C Creating a class variable
- D Declaring a static field
Answer
Accessing a method as though it were an attribute
Properties allow computed attributes and validation on assignment without changing the public interface that callers already use.





