How to work with an interface in VB.NET?

Author Topic: How to work with an interface in VB.NET?  (Read 6361 times)

Offline chinmay.sahooTopic starter

  • Trade Count: (0)
  • Full Member
  • ***
  • Thank You 2
  • Posts: 158
  • Karma: 0
    • We Helpline
How to work with an interface in VB.NET?
« on: 12-22-2016, 00:38:19 »
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.


Offline Lishmalinyjames

  • Trade Count: (0)
  • Hero Member
  • *****
  • Thank You 2
  • Posts: 800
  • Karma: 0
    • Oneplus Service Center in Chennai
Re: How to work with an interface in VB.NET?
« Reply #1 on: 07-07-2021, 11:16:19 »
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.

 

Related Topics

  Subject / Started by Replies Last post
23 Replies
9258 Views
Last post 05-17-2012, 08:44:22
by kenrylesso
6 Replies
7129 Views
Last post 09-10-2011, 11:52:57
by Maddy
19 Replies
8896 Views
Last post 01-07-2014, 22:16:06
by Element_Xero
0 Replies
6633 Views
Last post 11-05-2015, 06:44:50
by Brainpulse
16 Replies
8621 Views
Last post 10-09-2020, 05:07:45
by BrackNelson