1. Home
  2. Subjects
  3. Data Science
  4. Python

Python MCQs · Page 17

595 multiple choice questions with answers in Data Science.

Showing 401–425 of 595

Which decorator defines a method that belongs to the class rather than an instance and receives cls in Python?

  1. @classmethod Correct answer
  2. @staticmethod
  3. @property
  4. @abstractmethod
MCQSEXAM Read explanation