接口的实现类对象smoking(s); //打印结果:Students are not allowed to smoke!
博客摘录「 接口作为方法的 参数和返回值」2023年8月8日
最新推荐文章于 2024-08-05 23:59:28 发布
接口的实现类对象smoking(s); //打印结果:Students are not allowed to smoke!