package class10_1_FunctionalProgramming_start;// Dr. Yoder. MSOE. 09 February 2017 import java.util.ArrayList; import java.util.List; /** * Go to http://msoe.us/taylor/se1021/wk9-2 * Edit this class (Driver) while answering the questions there. */ public class Driver { public static void main(String[] args) { List list = new ArrayList<>(); list.add(new Complex(1,0)); list.add(new Complex(40,10)); list.add(new Complex(3,4)); list.add(new Complex(30,40)); list.add(new Complex(20,10)); list.add(new Complex(-50,0)); list.add(new Complex(4,0)); List filtered = null; // TODO stop crash by creating a filtered list // TODO: Call your method(s) here System.out.println("The filtered list:"); for (Complex c: filtered) { System.out.println("c = " + c); } } // TODO: Write your methods here }