/* Author: James Tam Version: March 2, 2021 */ public class Driver { public static void main (String [] args) { final int SIZE = 2; Car [] myCars = new Car[SIZE]; myCars[0] = new Compact(); myCars[1] = new SUV(); //First set of output messages written by James Tam System.out.println(myCars[0]); System.out.println(myCars[1] + "\n"); //Second set of output messages written by James Tam //<<< Students must write the code to get the cars at both // array elements travel 1 unit >>> //<<< End of student code >>> System.out.println(myCars[0]); System.out.println(myCars[1] + "\n"); //Third set of output messages written by James Tam //<<< Students must write the code to get the SUV to toggle // the state of the AWD >>> //<<< End of student code >>> System.out.println(myCars[0]); System.out.println(myCars[1]); } }