dsSorting in descending order in java This is a Java Program to Sort the Array in Descending Order. Enter size of array and then…byJohn