Question: Which of the following statements is correct about the C#.NET code snippet given below?

Options

A : func() is a valid overloaded function.

B : Overloading works only in case of subroutines and not in case of functions.

C : func() cannot be considered overloaded because: return value cannot be used to distinguish between two overloaded functions.

D : The call to i = s1.func() will assign 1 to i .

Click to view Correct Answer

Previous || Next

Constructors - General Questions more questions

Which of the following is an ordered collection class?

Which of the following is the correct way to find....

Which of the following statements are correct about a HashTable....

Which of the following is the correct way to access....

Which of the following statements is correct?

Which of the following ways to create an object of....

Which of the following statements are correct about static functions?

Which of the following statements is correct about constructors?

Which of the following is the correct way to define....

In which of the following should the methods of a....

Attributes - General Questions more Online Exam Quiz

Attributes - General Questions

Classes and Objects - General Questions

Collection Classes - General Questions

Datatypes - General Questions

Delegates - General Questions

.NET Framework - General Questions

Enumerations - General Questions

Exception Handling - General Questions