Vidyalelo
Python · Q12

Classes and Objects in Python

Programming · Python · question 12

Q12

How can you inherit a class in Python?

A.
By creating a new class that is based on an existing class
Answer
B.
By using the inherits keyword
C.
By using the extends keyword
D.
By using the inherit method

Answer: Option A

Solution

Answer: Option A
No explanation is given for this question Let's Discuss on Board