import util.IntVector; class Program { public static void main(String[] args) { int[] a = {0, 1, 3, 5}; //int[] a = new int[4]; //a[0] = 0; a[1] = 1; a[2] = 3; a[3] = 5; IntVector v = new IntVector(a); System.out.println(v); IntVector v2 = new IntVector(v); /// not the same as IntVector v2 = v //IntVector v2 = v; v.add(1); System.out.println(" v: " + v); System.out.println("v2: " + v2); } }