his is a regular “data quiz”. Follow it on LinkedIn. Test your knowledge or learn something new.

Today Question:

In Python, @staticmethod is used to:

A) Decorate 

B) Call without instance 

C) Privatize 

D) Inherit


Correct Answer: B

Explanation

@staticmethod marks a class method that can be called without creating an instance. It does not receive self or class and is isolated from object or class state. It groups logically related utility functions inside a class for better structure and readability.