上一页 1 ··· 54 55 56 57 58
摘要: construct: 1>构造器的作用: ①创建对象 ②初始化对象的属性 public class HelloWorld { public static void main(String[] args) { //创建类的对象:new + 构造器 Person person = new Person( 阅读全文
posted @ 2021-07-22 22:44 哩个啷个波 阅读(74) 评论(0) 推荐(0) 编辑
上一页 1 ··· 54 55 56 57 58