C Sharp (C#) - Polymorphism and Abstract Classes
Which keyword is used in C# to allow a method to be overridden in a derived class?
virtual is used in the base class method declaration to allow overriding.override is used in derived classes to override, new hides methods, and abstract declares methods without implementation.15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions