Question: Write an application that calculates the average of a series of integers that are passed to method average using a variable-length argument list. Test your
Write an application that calculates the average of a series of integers that are passed to method average using a variable-length argument list. Test your method with several calls, each with a different number of arguments.
Step by Step Solution
3.46 Rating (156 Votes )
There are 3 Steps involved in it
To solve this problem we can use the concept of varargs in Java which stands for variablelength argu... View full answer
Get step-by-step solutions from verified subject matter experts
