Question: A program contains a method with the header num calculateTaxes(num amount, string name). Which of the following methods can coexist in the same program with
A program contains a method with the header num calculateTaxes(num amount, string name). Which of the following methods can coexist in the same program with no possible ambiguity?
a. Num calculateTaxes(string name, num amount)
b. String calculateTaxes(num money, string taxpayer)
c. Num calculateTaxes(num annualPay, string taxpayerId)
d. All of these can coexist without ambiguity.
Step by Step Solution
3.50 Rating (157 Votes )
There are 3 Steps involved in it
a Num ca... View full answer
Get step-by-step solutions from verified subject matter experts
