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