SarkariResultess QA Bank

Class method बनाने के लिए कौन सा decorator है? — error आने पर developer क्या करे?

Other 0 Views Verified
Class method बनाने के लिए कौन सा decorator है? — error आने पर developer क्या करे?
Sarkari Result QA Bank
Editorially reviewed exam information

Answer & Explanation

4 Answers
Verified

@method(class)

@method(class)
Additional Explanation
यह विकल्प सही समाधान नहीं है।
Verified

@staticmethodmethod

@staticmethodmethod
Additional Explanation
यह विकल्प सही समाधान नहीं है।
Verified Correct Answer

@classmethod

@classmethod
Additional Explanation
@classmethod पहला argument class (cls) को देता है। पहले traceback की exact line और input value check करें।
Verified

@class

@class
Additional Explanation
यह विकल्प सही समाधान नहीं है।