-
Choose the correct answer
Which of the following class declaration is correct?
- (a) class class_name
- (b) class class_name< >
- (c) class class_name:
- (d) class class_name[ ]
2 Answers
-
Correct Answer:
(c) class class_name:
Answered on 29/10/2020 at 02:40PM by Thamizh
Download our mobile app - The Learning App by EduDeck
-
Correct Answer:
c) class class_name:
A Class is like an object constructor.
To create a class, use the keyword class.Ex:
class MyClass:
x = 5print(MyClass)
Video Explanation
Answered on 24/12/2020 at 01:21PM by Nirmal Raj
Latest answers
Answered by Sangeedha
Use of _____________in four wheelers and _______for two w...Seat belt and helmet
Read More