Which of the following is the correct syntax for inheritance in Python?
Options
- A. class Derived inherits Base:
- B. class Derived(Base):
- C. class Base extends Derived:
- D. More than one of the above
- E. None of the above
Quiz Practice:
B. class Derived(Base):