adplus-dvertising
frame-decoration

Question

What is the syntax of inheritance of class?

a.

class name

b.

class name : access specifer

c.

class name : access specifer class name

d.

none of the mentioned

Answer: (c).class name : access specifer class name

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. What is the syntax of inheritance of class?