Examveda

How can you inherit a class in Python?

A. By creating a new class that is based on an existing class

B. By using the inherits keyword

C. By using the extends keyword

D. By using the inherit method

Answer: Option A


This Question Belongs to Python Program >> Classes And Objects In Python

Join The Discussion

Related Questions on Classes and Objects in Python