Assume you have declared a method as follows: public static double DisplayData(string name = "XX", double amount = 10.0) Which of the following is an illegal method call? a. DisplayData(name :...


Assume you have declared a method as follows: public static double DisplayData(string name = "XX", double amount = 10.0) Which of the following is an illegal method call?


a. DisplayData(name : "Albert");


b. DisplayData(amount : 200, name : "Albert");


c. DisplayData(amount : 900.00);


d. All of these are legal.



May 19, 2022
SOLUTION.PDF

Get Answer To This Question

Submit New Assignment

Copy and Paste Your Assignment Here