day20
思考 父类中含有一个无参的test方法,子类含有一个带参的test方法 问题:子类中的带参test方法与父类的无参test方法之间是什么关系? package com.saas;
public class Father {
public void test(){System.out.println("this …
ArrayList<E>E是自定义数据类型
ArrayList类: 构造函数: 成员方法:
public boolean add(E e):
将指定元素加到集合末尾
Appends the specified element to the end of this list.
public class Array {public static…