Question: Java 1) Create two Arrays- array1 [8 12-5 4 80 -7 3 133] array2 [3 5 121 8 16 12 72-3 8] Write a program
1) Create two Arrays- array1 [8 12-5 4 80 -7 3 133] array2 [3 5 121 8 16 12 72-3 8] Write a program that sorts these arrays in Descending order, using Selection Sort algorithm. Merge the two Arrays and remove duplicates from the merged array. Make sure the final merged array is sorted and doesn't have any duplicates. Print the initial, merged, sorted arrays and Final array. 2) Write a program that prints the below sequence As-Is: 0 12 3 4 5 6789 10 11 12 13 14 Note: There is one space gap after each element
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
