English
Tamil Nadu Board of Secondary EducationHSC Science Class 12

Which of the following class declaration is correct? - Computer Science

Advertisements
Advertisements

Question

Which of the following class declaration is correct?

Options

  • class class_name

  • class class_name<>

  • class class_name:

  • class class_name[ ]

MCQ

Solution

class class_name:

shaalaa.com
Introduction to Python Classes and Objects
  Is there an error in this question or solution?
Chapter 10: Python Classes and objects - Evaluation [Page 187]

APPEARS IN

Samacheer Kalvi Computer Science [English] Class 12 TN Board
Chapter 10 Python Classes and objects
Evaluation | Q 7. | Page 187
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×