English, asked by jamrutha2601, 2 months ago

E Question List
A Question
Consider a class Student. It has a method - public float calculateTotalFees(). Which of the following
method signatures is/are valid for method overloading?
public int calculateTotalFees(float busFees,float messfees)
public double calculate TotalFees
public float calculate TotalFees{float busFees)
public void calculate TotalFees()​

Answers

Answered by abinayanand03
18

Answer:

public int calculateTotalFees(float busFees, float messfees)

public float calculateTotalFees(float busFees)

Answered by theresamary4866
3

Answer:

1) public int calculateTotalFees(float busFees,float messfees)

2) public float calculate TotalFees{float busFees)

Explanation:

Similar questions