IN JAVA LANGUAGE ONLY Write an object class with just one instance variable, aninteger array. Your constructor should take an integer array as itsonly parameter. Write all the accessors, mutators, toString andequals methods. Also write an additional RECURSIVE method thatreturns the sum of all the elements in the array (your methodshould have an array as it’s argument and should have the recursivecall in its return for the general case). Write a client class totest all your methods and especially your recursive method. . . .
#Sales Offer!| Get upto 25% Off: