1. Write an int Array wrapper class that wraps an array of integers and provides the following:
a. a factory method that takes an array size as an argument and returns an object populated with users input values;
b. a removal method that removes the element in a given position from the array;
c. a method that returns an array of the different values in the array along with their frequencies of apprearance
d. Test cases: Prioritize and justify your test cases (the removal method).
2. Discuss whether you think the mean of equals and the output of to string should be show somehow related.
a. Consider the solid cylinder and rectangular prism. Each of them has a height. A cylinder has a base that is a circle with radius. A rectangular prism has a base that is a rectangle with lenght and width. Using polymorphism, write the necessary interface(s), abstract class(es) and /or concrete class that implement the family of solid figures and offer the neccessary method(s) to allow comparing any two solid figures to check if they have the same volume.
b. draw a class model of your program.
c. Override the equals and the string methods for the rectanglar prism equals should check if two prisms are the same dimensions.