Page 1 of 1

In Java Part 1 - In a new class, implement two methods that will each calculate and return the average of an array of nu

Posted: Thu Jul 14, 2022 2:19 pm
by answerhappygod
In Java
Part 1 - In a new class, implement twomethods that will each calculate and return the averageof an array of numeric values that is passed in as anargument. Constraints:
From a main() method, demonstrate your two methods in action.Call each of your methods at least twice with arrays ofdifferent sizes each time.
Part 2 - Create a classnamed Rectangle. Implement Rectangle inits own file. This class should contain at minimum:
Create a class named Circle. ImplementCircle in its own file. This class should contain at minimum:
Part 3 - In a separate class in its own file,write an application to neatly output, with descriptive text:
Your output must display your shapes' dimensions andareas. Do not hard-code any values into your outputstatements.
Example output: