Which of the following operations is not can search in an unsorted list A) Binary search 40) B) Linear search supported by a list? A) Find the minimum element in this list B) Delete an element from this list. C) Retrieve an element from this list D) Insert a new element to this list 41) The printout froem the following code is java.util.ArrayList-String list- new 8) Which data type should you use if you want to list.add(New York store duplicate elements and be able to insert or delete elements anywhere efficiently? java.util ArrayList String> list list add(Atlanta list Ladd(Dallas list B) ArrayList D) Vector A) Stack 49) The iterator) method retums an instance of the A) [New Yoek] B) [New York, Atlanta, Dallas) C) [New York, Dallas D) [New York, Atlanta interface. A) Iterable C) ArrayList B) Collection D) Iterator 50) Binary search can be applied on an unsorted 42) Which of the following declares an abstract list and produces correct results. method in an abstract Java class? A) true B) false A) public void abstract Methodo B) public void methodo t C) public abstract void methodO 51) The method header is left blank in the following code. Fill in the header. D) public abstract void methodo D 43) An abstract class can be extended. public static void main(Stringl args )I A) true B) false Integert] inbegers (1, 2, 3,4,5 Stringl) strings f\'London\", \"Paris, \"New 44) You can substitute a generic type with a York,\"Austin primitive data type. A) true B) false 45) Which of the following is a correct interface? A) interface A I vold print):) B) abstract interface A I print0:I C) interface A I void printO Il ) interface A I void printo i 1E for (int i 0, i c list.length; ) D) abstract interface A I abstract void print System.out.print(list] Systeem.out printinO 46) To declare a class named A with two generic ypes, use A) public class AcE, P B) pablic class AcEs1-1 C) public class A(E) I.) D) pubic class A(E, FI .. A) public static woid print(Stringll list) B) public static void printint] list) C) public static void print(Ell list) D) public static void printInteger) list) A-6 Solution 40 B) Linear Search 41 B) [New York, Atlanta, Dallas] 42 C) public abstract void method(); 43 a) True 44 A) True 45 C) interface A ( void print(); ) 46 A) public class A<E,F>() 47 A) find the minimum element in the list 48 B) ArrayList 49 D) Iterator 50 B) False 51 C) public static <E> void print(E[] list); .