babloo0311
babloo0311
Branch Unspecified
13 Jul 2011

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.
kanna.sridharan

kanna.sridharan

Branch Unspecified
10 years ago
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

Branch Unspecified
10 years ago
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

Branch Unspecified
10 years ago
Hi friends...........
Thanks shiva. WILL U PLZ EXPLAIN IN DETAIL
babloo0311

babloo0311

Branch Unspecified
10 years ago
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

Branch Unspecified
10 years ago
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 -

Only logged in users can reply.