摘要:
/*继承与抽象类*/ package com.baidu.www; abstract class Person { private String name; private int age; public String getName() { return name; } public void setName(String name)... 阅读全文
摘要:
/*关键字*/ package com.baidu.www; abstract class A { private String name; public A(String name) { this.name=name; } public String getName() { return this.name; } ... 阅读全文