摘要:
今日内容: Java.Util.ArrayList类的基本用法 package test; import java.util.ArrayList; public class NewDemo { public static void main(String[] args) { ArrayList ar 阅读全文
摘要:
输出为: 输出为: 编译报错!super方法应在子类构造方法的最前面,即第一行。因为只有先实例化父类才能对子类进行实例化。 public class Test { public static void main(String[] args) { System.out.println("Son的无参" 阅读全文