闫平平
写代码也要酷酷的!

导航

 

2019年3月16日

摘要: super(参数):调用父类中的某一个构造函数(应该为构造函数中的第一条语句)。 this(参数):调用本类中另一种形式的构造函数(应该为构造函数中的第一条语句)。 this的实例: 1 package com.demo; 2 3 public class Person { 4 private in 阅读全文
posted @ 2019-03-16 17:02 写代码也要酷酷的 阅读(160) 评论(0) 推荐(0) 编辑