Why is the virtual keyword used in code?

Technology CommunityCategory: OOPWhy is the virtual keyword used in code?
VietMX Staff asked 3 years ago

The virtual keyword is used while defining a class to specify that the methods and the properties of that class can be overridden in derived classes.