| |
GeekInterview.com > Interview Questions > J2EE > Java
| Print | |
Question: What is the difference between Abstract class and Interface
Answer: Answered by Scott on 2005-05-12 10:03:06: An abstract class can contain non-abstract methods which do not have to be overridden in the subclass. There is no difference between a fully abstract class (all methods declared as abstract and all fields are public static final) and an interface. |
| August 08, 2006 04:54:32 |
#9 |
| varun mittal |
Member Since: Visitor Total Comments: N/A |
RE: What is the difference between Abstract class and ... |
| The differnce is that in interface all are public but in abstract class u can have private and protected members |
| |
Back To Question | |