1.C# allows a function to have arguments with default values.
2.C# allows a function to have variable number of arguments.
3.Omitting the return value type in method definition results into an exception.
4.Redefining a method parameter in the method's body causes an exception.
5.params is used to specify the syntax for a function with variable number of arguments.
A.1, 3, 5
B.3, 4, 5
C.2, 5
D.4, 5
E.None of these
Answer: Option C
2.C# allows a function to have variable number of arguments.
3.Omitting the return value type in method definition results into an exception.
4.Redefining a method parameter in the method's body causes an exception.
5.params is used to specify the syntax for a function with variable number of arguments.
A.1, 3, 5
B.3, 4, 5
C.2, 5
D.4, 5
E.None of these
Answer: Option C
7 comments:
Wrong. #1 is now possible.
Here 2,5 options are correct.
Here 2,5 options are correct.
Here 2,5 Options are correct.
In this question 2,5 option's are correct.
In this question 2,5 options are correct.
In this question 2,5 options are correct.
Post a Comment