1 / 4
2 / 4
3 / 4
4 / 4

OOP Questions


1. What is polymorphism in C#?

2. What are the two types of polymorphism in C#?

3. What is method overriding in C#?

4. How does method overloading differ from method overriding?

5. What is a virtual method in C#?

6. How is the base keyword used in C#?

7. How does polymorphism promote code reusability in C#?

8. Is it possible to achieve polymorphism without inheritance in C#?

9. What is an abstract class in C#?

10. How does an abstract class differ from an interface in C#?

No comments:

Post a Comment

If you have any doubts please let me know