| Author |
Need of interface
|
Seetharaman Venkatasamy
Ranch Hand
Joined: Jan 28, 2008
Posts: 5575
|
|
Hi All, About interface, interface method do not have body .so, it supports multiple inheritence. well,but my doubt is without body definition,what is the use of implementing the interface.. :roll: what i feel , Abstract class is meaningful compare to interface
|
 |
Joe Ess
Bartender
Joined: Oct 29, 2001
Posts: 8265
|
|
Abstract Classes vs. Interfaces It may also be instructive to look at real-life implementations, for example, the Java Collections Framework, which makes good use of both interfaces and abstract classes. [ September 09, 2008: Message edited by: Joe Ess ]
|
"blabbing like a narcissistic fool with a superiority complex" ~ N.A.
[How To Ask Questions On JavaRanch]
|
 |
Seetharaman Venkatasamy
Ranch Hand
Joined: Jan 28, 2008
Posts: 5575
|
|
Thanks Joe
|
 |
 |
|
|
subject: Need of interface
|
|
|