摘要: 用接口,可以让学生继承2个类, 接口是一种规范,一种能力,一种扩展 using System; namespace 多态之接口类 { class Program { static void Main(string[] args) { //接口就是一个规范、能力。 Student ss = new S 阅读全文
posted @ 2022-11-21 22:05 小春博客 阅读(20) 评论(0) 推荐(0) 编辑