link mingle home | logged in as: guest | login/register| submit link


IndiaDiscuss.com : Social Bookmarkings and News Networking Site for India
java
Bookmarks
interface vs abstract class : Java Glossary

View Story
21
Votes

You can offer the best of both worlds, an interface and an abstract class. Implementors can ignore your abstract class if they choose. The only drawback of doing that is calling methods via their interface name is slightly slower than calling them via their abstract class name.
http://mindprod.com/jgloss/interfacevsabstract.htm
saved under Interview Questions/Abstract vs Interface by java

 
IndiaDiscuss | Published News | Hot
Indian Social News and Links Network
IndiaDiscuss | Published News
Indian Social News and Links Network