Prepare this application in java programming
Question: You need to create a class called NumberSet. It needs an empty default constructor and an overloaded constructor that takes an integer argument and creates a vector with that many random numbers in it. So... if I created
NumberSet n1 = new NumberSet(300);
...it would create a vector inside that numberset with 300 randomly generated integers in it. Your NumberSet class should also have functions that return the size of the numberset, the max number in the set, the min number in the set, and the average. It would not have any public member variables other than the string that name the datasets (Set1, Set2, etc...).
Solve this program and provide all the code.