CIS1068 FIVE MINUTE TEST #11 (15 minutes) 04/27/2010 (10) 1. A is an interface, B is an abstract class that implements A, C is a concrete class that extends B. Indicate what statements are legal: A a1 = new A(); A a2 = new B(); A a3 = new C(); B b1 = a3; C c1 = new C(); (15) 2. Write the function public static double maxSum(double[][] a) which computes the sum of the values at each row and returns the largest sum. You can assume that no array is null or empty. (15) 3. Write the method public static Fraction avg(Fraction[] a) which returns the average of all the Fractions in a. You can assume that a is not null or empty.