tag:blogger.com,1999:blog-13911304.post-1119574401058266702005-06-23T17:49:00.000-07:002005-06-23T17:53:21.063-07:00Difference between Abstract and Interface<ul> <li>Interface only provides the contract, does not add default behaviour, whereas abstract classes provide default behaviour (not necessarily, only if you want to, but that is the point)<br /> </li> <li>You can implement as many interfaces as you may want, but only extend from one abstract class</li> <li>You cannot have private, protected variables in an Interface.<br /> </li> </ul>Java Foohttp://www.blogger.com/profile/14104080800348407575noreply@blogger.com