Logo 
Search:

Java Answers

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds
  Question Asked By: Meenachi Suppiah   on Mar 13 In Java Category.

  
Question Answered By: Jean Bell   on Mar 13

There is a neat class
java.util.Arrays.Look in there. You can use it to sort an array. Then,
you don't have to look for minimum values. You just
go down the array  sequentially.If you need
to keep the array pristine, just use the Arrays
class to copy one array to another then sort the new
array....There are ways to do what you want with neat coding,
but using the java API's and having THEM do the work
is what the "lazy" programmer does.Stephen
McConnellhttp://www.crosslogic.com

Share: