摘要: package com.hanqi; public abstract class UseCase1 { abstract void testAbstract(); UseCase1(){//(1)首先执行父类构造方法 System.out.println("before testAbstract() 阅读全文
posted @ 2016-03-10 23:00 边晓艳 阅读(3449) 评论(0) 推荐(0) 编辑
摘要: package com.hanqi; public class UseCase2 { public void doSomething(){ System.out.println("父类.doSomething()"); } public void doAnything(){ System.out.p 阅读全文
posted @ 2016-03-10 22:58 边晓艳 阅读(1808) 评论(0) 推荐(0) 编辑