Cannot be applied to

broken image
broken image

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) )

broken image

Produce the output below through appropriate method calls

broken image