Coding & Programming > ASP Forum

How to work with an interface in VB.NET?

(1/1)

chinmay.sahoo:
Interfaces allow us to create definitions for component interaction. They also provide another way of implementing polymorphism. Through interfaces, we specify methods that a component must implement without actually specifying how the method is implemented.

Lishmalinyjames:
Interfaces are more flexible than base classes because you can define a single implementation that can implement multiple interfaces. Interfaces are better in situations in which you do not have to inherit implementation from a base class. Interfaces are useful when you cannot use class inheritance.

Navigation

[0] Message Index

Go to full version