Program to find largest and smallest number in array in java

Write a program to find largest and smallest number in array in java.

Output is –¬†Largest number is : 10 Smallest number is : 1

Top