Hierarchical inheritance in Java is a type of inheritance
Where a single parent class is extended by multiple child classes.
Each child class inherits the property and method of the parents class but can also define its own unique features
© 版权声明
THE END
暂无评论内容