Ascending Descending Order Java

Ascending order is the order in which the number starts from lowest and move to the greatest, whereas Descending order is the order in which the number start from the greatest and move toward the lowest.

Check out the simple java code for ascending and descending of a give set of numbers.