Solved

Which of the Following Methods Are Overloaded with Respect to One

Question 2

Multiple Choice

Which of the following methods are overloaded with respect to one another?
Public int max (int a,int b) { … }
Public double max (double a,double b) { … }
Public int max (int a,int b,int c) { … }
Public double max (double a,double b,double c) { … }


A) A and B are overloaded;C and D are overloaded.
B) A and C are overloaded;B and D are overloaded.
C) A,B and C are overloaded.
D) All four methods are overloaded.

Correct Answer:

verifed

Verified

Related Questions