A

Admin • 833K Points
Coach

Q. What keyword is used to inherit a class in Python?

  • (A) inherits
  • (B) extends
  • (C) super
  • (D) class
  • Correct Answer - Option(D)
  • Views: 23
  • Filed under category Python
  • Hashtags:

Explanation by: Admin

Inheritance is declared using `class Derived(Base):` syntax.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.