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.
Replies
-
kanna.sridharanI'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:-
#-Link-Snipped-# -
shiva kumarhi , 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.......... -
mataHi friends...........
Thanks shiva. WILL U PLZ EXPLAIN IN DETAIL -
babloo0311
Thanks u i think it will help me a lotkanna.sridharanI'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:-
#-Link-Snipped-# -
babloo0311
Thank u shiva that was really helpful in understandingshiva kumarhi , 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..........
You are reading an archived discussion.
Related Posts
hi all
can anybody tell me how to make use of mouse in c++ as i want to create some buttons that are clickable.
i need it urgently
hi guys..
ever thought of self cooling engines like air cooled ones. even in the air cooled engines the percentage of heat dissipated by air is less...y dont we com...
India celebrates its 62[sup]nd[/sup] Independence day today [15[sup]th[/sup] August 2008 ]
Here's wishing all our members from India a very
HaPpy Independence Day!
hi buddies,
Im n my pre final year. asked to do a min project.
I hav an idea to find a cars number by using a camera and image processin...
anybody knows how to program PIC 16f84A to control multiple appliance like electric fan., tnx.,