If(num=((Integer)ar.get(i)))// operator = cannot be applied to int, Public static int search(ArrayList ar, int num ) I never got these errors while i was using the school computer but when I tried doing the program at home i got a whole bunch of errors. NOTE: ArrayList objects can be dynamically resized ('The location of 5 is ' + search(list, 5) )
Produce the output below through appropriate method calls