how does vbnetc achieve polymorphism vbnet c


How does VB.NET/C# achieve polymorphism? 

VB.Net / C# provide polymorphism through the following mechanisms:

1. Inheritance - base class gives overridable methods which are re-executed in derived classes.

2. Interface - different class can execute same interface, resulting in dissimilar implementations of interface methods.

3. Virtual methods - achieve runtime polymorphism.

 

Request for Solution File

Ask an Expert for Answer!!
Computer Engineering: how does vbnetc achieve polymorphism vbnet c
Reference No:- TGS0289483

Expected delivery within 24 Hours