Question: Given the following class, which method signature could be successfully added to the class as an overloaded version of the findAverage() method? A. public Long
Given the following class, which method signature could be successfully added to the class as an overloaded version of the findAverage() method?

A. public Long findAverage(int sum)
B. public Long findAverage(int sum, int divisor)
C. public Integer average(int sum)
D. private void findAverage(int sum).
public class Calculations { public Integer findAverage (int sum) { return sum; } }
Step by Step Solution
3.50 Rating (153 Votes )
There are 3 Steps involved in it
Method overloading in Java allows you to create multiple methods with the same name but with different parameters number of parameters type of paramet... View full answer
Get step-by-step solutions from verified subject matter experts
