How To Find Maximum And Minimum In Array In Java