摘要:
package lei;public class Student { //属性 :字段 String name;//null :抽象不能具体赋值 int age;//0 // 方法 public void study(){ System.out.println(this.name+"在学习"); } 阅读全文
posted @ 2021-07-20 12:41
酒安念
阅读(39)
评论(0)
推荐(0)
|
摘要:
package lei;public class Student { //属性 :字段 String name;//null :抽象不能具体赋值 int age;//0 // 方法 public void study(){ System.out.println(this.name+"在学习"); } 阅读全文
posted @ 2021-07-20 12:41
酒安念
阅读(39)
评论(0)
推荐(0)
|