Computer Science, asked by dhanraj98601, 1 year ago

What is the property of class?
Does a class inherit the constructors of its super class?

Answers

Answered by priyanshurai45
0
A subclass inherits all the members (fields, methods, and nested classes) from its superclass. Constructors are not members, so they are not inherited by subclasses, but the constructor of the superclass can be invoked from the subclass.

hope it helps you
plz mark me as brainliest
Similar questions