This is what I have just now, the array list is called numbers. The problem is that when I run the method it asks me to enter a value? Am I doing something stupid/not understanding something...
Type: Posts; User: Kaldanis
This is what I have just now, the array list is called numbers. The problem is that when I run the method it asks me to enter a value? Am I doing something stupid/not understanding something...
Thanks, but I'm not sure how to create the method that searches the objects in the array for the highest value. I know it will have to start at array object 0, then check if array object 1 is bigger...
I got it working :) I did have to call it from the second class, it was just some simple coding errors. But now I have a new problem. I'm trying to write a method to search my array list for the...
Hi there,
I've been stuck on this for a while and have tried everything I can think of. If I have two classes called FirstClass and SecondClass, and the FirstClass contains an array of objects...