JAVA中implements的用法
摘要:
implements使用 interface Sport { void run(); void jump(); } class Athlete implements Sport { public void run() { System.out.println("短跑"); } public void 阅读全文
posted @ 2016-12-08 23:33 早晨de风景 阅读(7524) 评论(0) 推荐(1) 编辑