类和类的继承 实现关系;

继承通过extends关键字(单继承);

实现通过implements关键字(多实现 接口);

 

posted on 2020-05-05 09:02  星空6  阅读(283)  评论(0编辑  收藏  举报

导航