Question: Store class is given. In Java show the out put Write a method in the Store class called averageCustomer which should return an int representing

Write a method in the Store class called averageCustomer which should return an int representing Age0 the average age of all Customer objects in the store. Test your code by appending the following line to the end of the StoreTestProgram:- You should get a result of 26 Find average Customer age System out.println("InAverage age of customers: Walmart averagecustomerAge
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
