Vidyalelo
Python · Q52

Formatting and Decorators

Programming · Python · question 52

Q52

What is the primary use of the @final decorator in Python?

A.
Mark a method as final
B.
Prevent class inheritance
C.
Mark a class as final
D.
Mark a variable as final
Answer

Answer: Option D

Solution

Answer: Option D
No explanation is given for this question Let's Discuss on Board