difference between abstract class and interface
-
hi their, i just wanna to know the major difference between abstract class and interface... till now i knew like Abstract class will have connection of internally related method's declaration but in interface will have collection of unrelated methods... am i correct?:confused:
-
hi their, i just wanna to know the major difference between abstract class and interface... till now i knew like Abstract class will have connection of internally related method's declaration but in interface will have collection of unrelated methods... am i correct?:confused:
-
HI THEIR, :-D i gone throw the article .its good but they were explained only about how to implement and syntax differences n multiple inherit but wat i expert na why we need tat? almost both does the same thing but why we need tat apart from the given explanation ....
-
HI THEIR, :-D i gone throw the article .its good but they were explained only about how to implement and syntax differences n multiple inherit but wat i expert na why we need tat? almost both does the same thing but why we need tat apart from the given explanation ....
-
HI THEIR, :-D i gone throw the article .its good but they were explained only about how to implement and syntax differences n multiple inherit but wat i expert na why we need tat? almost both does the same thing but why we need tat apart from the given explanation ....
balajict wrote:
why we need tat?
I don't think that both have been thought up simultaneously with a distinct idea "let's use A in circumstance one and B in circumstance two". You got a sledgehammer and a warhammer, both have similar uses but different advantages and disadvantages in different situations.
I are Troll :suss:
-
hi their, i just wanna to know the major difference between abstract class and interface... till now i knew like Abstract class will have connection of internally related method's declaration but in interface will have collection of unrelated methods... am i correct?:confused:
In addition to the major differences between abstract class and interface you should also aware proper use of it at proper place and requirement. Following links helps you to understand when to use abstract class and when to use interface. http://codeofdoom.com/wordpress/2009/02/12/learn-this-when-to-use-an-abstract-class-and-an-interface/[^] http://geekswithblogs.net/mahesh/archive/2006/07/05/84120.aspx[^] Hope this will help!
Jinal Desai
-
balajict wrote:
why we need tat?
I don't think that both have been thought up simultaneously with a distinct idea "let's use A in circumstance one and B in circumstance two". You got a sledgehammer and a warhammer, both have similar uses but different advantages and disadvantages in different situations.
I are Troll :suss:
subtle and instructive, I like it. :laugh:
Luc Pattyn [Forum Guidelines] [Why QA sucks] [My Articles]
Prolific encyclopedia fixture proof-reader browser patron addict?
We all depend on the beast below.
-
In addition to the major differences between abstract class and interface you should also aware proper use of it at proper place and requirement. Following links helps you to understand when to use abstract class and when to use interface. http://codeofdoom.com/wordpress/2009/02/12/learn-this-when-to-use-an-abstract-class-and-an-interface/[^] http://geekswithblogs.net/mahesh/archive/2006/07/05/84120.aspx[^] Hope this will help!
Jinal Desai
hi Jinal Desai, thanks man.now i got clear idea about it thanks again. :laugh: