I have a problem with arrays.
Let's say I have arrays: 23,25,28,29,24,27
How do I find the oldest person in the array. I have done something like this:
public int oldest() {
int old=arr[0]; // I know this line is wrong
for(int i=0;i<objects;i++) {
if (arr[i]<old)...