how to create a program in java
<p>how to create a program that will sort the elements of array in ascending and descending order. 
sample output:
Enter size: 4
Enter elements
11
26
8
30
Ascending
8
11
26
30
descending
30
26
11
8</p>
