MCQOPTIONS
Saved Bookmarks
This section includes 2 Mcqs, each offering curated multiple-choice questions to sharpen your C# Questions & Answers Method Overriding knowledge and support exam preparation. Choose a topic below to get started.
| 1. |
The modifier used to hide the base class methods is? |
| A. | Virtual |
| B. | New |
| C. | Override |
| D. | Sealed |
| Answer» C. Override | |
| 2. |
The process of defining a method in a subclass having same name & type signature as a method in its superclass is known as? |
| A. | Method overloading |
| B. | Method overriding |
| C. | Method hiding |
| D. | None of the mentioned |
| Answer» C. Method hiding | |