14 Aug Java homework
Java Array Sorting, Traversal and Exception HandlingCreate a menu-driven program that will accept a collection of non-negative integers from the keyboard, calculate the mean and median values and display those values on the screen.Your menu should have 6 options:1. Add a number to the array2. Display...