Q:

Which of the following statements are correct for C# language?

0

Which of the following statements are correct for C# language?


  1. Every derived class does not define its own version of the virtual method.
  2. By default, the access mode for all methods in C# is virtual.
  3. If a derived class, does not define its own version of the virtual method, then the one present in the base class gets used.
  4. All of the above.

All Answers

need an explanation for this answer? contact us directly to get an explanation for this answer

Correct Answer:

By default, the access mode for all methods in C# is virtual.

need an explanation for this answer? contact us directly to get an explanation for this answer

total answers (1)

The point at which an exception is thrown is calle... >>
<< What will be the output of the following code snip...