View Feed
group-icon
Coffee Room
Discuss anything here - everything that you wish to discuss with fellow engineers.
12792 Members
Join this group to post and comment.
babloo0311
babloo0311 • Aug 14, 2008

Help regarding Interfaces and Abstract classes in Vb.net

Hi friends i want help regarding Interfaces and Abstract classes in Vb.net exact definition and difference of both with example.
I'm learning VB as of now, but regarding your question, just check out this link is of any help to you, coz i cant understand:-

What's the difference between Abstract classes and Interfaces? : Visual C# Language : Visual C# : MSDN Forums
shiva kumar
shiva kumar • Aug 17, 2008
hi , there is very thin line separating interfaces from abstract classes.....Abstract classes are very abstract in true sense..that means...those classes contain very basic features of the classes that extend from them.So in a way abstract classes are only intended only to get rid of the duplicated code......
While Interfaces,so called 100 % abstract classes as the name suggests they represent other face of the classes which implement them.....the main aim behind the concept of interfaces is to make a class avail the feature of polymorphic usage of OO language.....
there are many differences b/w an interface and a class...like there can b only final constant variables in an interface while an abstract class can have variables of any type..........
mata
mata • Aug 17, 2008
Hi friends...........
Thanks shiva. WILL U PLZ EXPLAIN IN DETAIL
babloo0311
babloo0311 • Aug 18, 2008
kanna.sridharan
I'm learning VB as of now, but regarding your question, just check out this link is of any help to you, coz i cant understand:-

What's the difference between Abstract classes and Interfaces? : Visual C# Language : Visual C# : MSDN Forums
Thanks u i think it will help me a lot
babloo0311
babloo0311 • Aug 18, 2008
shiva kumar
hi , there is very thin line separating interfaces from abstract classes.....Abstract classes are very abstract in true sense..that means...those classes contain very basic features of the classes that extend from them.So in a way abstract classes are only intended only to get rid of the duplicated code......
While Interfaces,so called 100 % abstract classes as the name suggests they represent other face of the classes which implement them.....the main aim behind the concept of interfaces is to make a class avail the feature of polymorphic usage of OO language.....
there are many differences b/w an interface and a class...like there can b only final constant variables in an interface while an abstract class can have variables of any type..........
Thank u shiva that was really helpful in understanding

Share this content on your social channels -