how does vbnetc achieve polymorphism vbnet c


How does VB.NET/C# achieve polymorphism? 

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

1. Inheritance - base class gives overridable methods which are re-implemented 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:- TGS0310338

Expected delivery within 24 Hours