About extends java difference and implement the

In java extends to inherit the parent class, as long as the parent class is not declared as final or as abstract class can, but java does not support multiple inheritance. Can interface implements multiple inheritance, a class can inherit inheritance, but implements a plurality of interfaces can be implemented, on the line separated by commas, such as class A extends B implements C, D , E.

Reproduced in: https: //www.cnblogs.com/GuoJiaSheng/p/3829942.html

Guess you like

Origin blog.csdn.net/weixin_34327761/article/details/93614718