12345678910111213
  1. public class IntListTesterVer1 {
  2. public static void main(String[] args){
  3. IntListVer1 list1 = new IntListVer1();
  4. IntListVer1 list2 = new IntListVer1(100);
  5. //equal when empty?
  6. System.out.println("list1.equals(list2): " + list1.equals(list2));
  7. System.out.println("list1: " + list1);
  8. System.out.println("list2: " + list2);
  9. }
  10. }