摘要: 阅读全文
posted @ 2020-05-29 22:49 景月 阅读(121) 评论(0) 推荐(0)
摘要: (1) public static Student s; 声明一个类对象 public static Student getStudent(){ 系统自动分配一个getstudeng方法 return s;返回该类的对象 } (2) 定义一个接口 package code; public inter 阅读全文
posted @ 2020-05-29 21:57 景月 阅读(125) 评论(0) 推荐(0)