Answered step by step
Verified Expert Solution
Question
1 Approved Answer
hi please help me for my java exam write a class called MotorSales. the class accepts an array of numbers representing the sale of each
hi please help me for my java exam
write a class called MotorSales. the class accepts an array of numbers representing the sale of each car. apart from the constructor, write two mutator methods;
one called sum, that calculates the total sales
the other called findLowest, that finds the lowest sale amount
also write an accessor method that returns the total amount in sales
you are responsible for declaring the appropriate variables in the class
do not write a test class none is necessary
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started