question 3 overloaded methods write


QUESTION 3: Overloaded methods

Write the overloaded method named average () for each of the following problems:


a) The first method receives THREE (3) integer values and returns the average of the values.



b) The second method reads several integer values and returns the average value. Use sentinel value of -999 to stop entering the input data.



Create a class to test (call method) each of the methods above with appropriate arguments.

Request for Solution File

Ask an Expert for Answer!!
JAVA Programming: question 3 overloaded methods write
Reference No:- TGS0161162

Expected delivery within 24 Hours