0 votes
in Python by
Which of the following is true about property decorator?

a) property decorator is used either for setting or getting an attribute.

b) property decorator is used either for getting, setting or deleting an attribute  

c) property decorator is used only for getting an attribute

d) property decorator is used only for setting an attribute

1 Answer

0 votes
by
b) property decorator is used either for getting, setting or deleting an attribute

Related questions

0 votes
asked Jul 16, 2020 in Python by GeorgeBell
0 votes
asked Jan 17, 2021 in Python by SakshiSharma
...