Solved

Which of the Following Methods Are Overloaded with Respect to One

Question 29

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 these four methods are overloaded.

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions