Write an object class with just one instance variable an


Problem

Write an object class with just one instance variable, an integer array. Your constructor should take an integer array as its only parameter. Write all the accessors, mutators, toString and equals methods. Also write an additional RECURSIVE method that returns the sum of all the elements in the array (your method should have an array as it's argument and should have the recursive call in its return for the general case). Write a client class to test all your methods and especially your recursive method.

Solution should be for jGRASP! not Eclipse or Netbeans..etc.

Remember to submit all your .java files, .class files and screenshots of your code and output.

Request for Solution File

Ask an Expert for Answer!!
Computer Engineering: Write an object class with just one instance variable an
Reference No:- TGS02699361

Expected delivery within 24 Hours