Question: Write a class that contains an array to keep track of yearly sales. YearlySales Class (Java eclipse) Member Variables: An array of double to hold
Write a class that contains an array to keep track of yearly sales.
YearlySales Class (Java eclipse)
Member Variables: An array of double to hold each months sales.
Methods: Average (calculates the avg sales for the year), Get/Set
Create a class called YearlySales. The class should have one member variable that is an array. The array should be defined such that it can hold sales figures for each month.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
