What is the syntax of inheritance of class?

a) class name
b) class name: access specifier
c) class name: access specifier class name
d) access specifier class name

1 thought on “What is the syntax of inheritance of class?”

  1. b
    Explanation: Inheritance helps in creating hierarchy of classes by making connections between different classes in which one is called base class and other is class derived class.

Leave a Comment