Java program that implement bubble-sort and selection-sort sorting algorithms
1. Using Eclipse to develop the following Java program that implement bubble-sort and selection-sort sorting algorithms. The following are skeletons of the bubble-sort and selection-sort algorithms: Bubble sort: for (int i =…