ExamVeda
Login
Home
Decorators in Depth
?

What is the purpose of the property decorator in Python?

Answer & Solution
Correct Answer: Option C
The property decorator is used to define a getter method for a class attribute.
Examveda
Question posted by Examveda
Community

Join the Discussion

No comments yet Be the first to discuss this question.