create one array and pass to static function and find maximum and minimum using for each loop in java
Please login to submit your solution and earn points.