Can anybody help me for finding maximum value and minimum value from an array of double values..i mean suppose there is an array of double values and now i want to find max and min value then is there any readymade method in double class or we have to define with our own...
Well, there is a method in the Math class that returns the max of two double values... so to get the max of an array of doubles, you would have to do something like this...
HTH, -Nate
-Nate
Write once, run anywhere, because there's nowhere to hide! - /. A.C.