what is difference between interface and abstract class..?
Answer Posted / vamsi
Abstract method means means it does n't have any
implementation.
Interface contains 0 or more abstract methods
Abstract class contains abstract methods as well as general
methods.
If any of any of the class that extends the abstract class
does n't implement some of the methods , it will be marked
as abstract.
| Is This Answer Correct ? | 4 Yes | 1 No |
Post New Answer View All Answers
Explain the difference between throw and throws in java?
What is difference between static class and singleton pattern?
What do heavy weight components mean in java programming?
What are instance variables?
Explain the difference between hashmap and hashtable in java?
What are the major advantages of internal iteration over external iteration?
How many bytes is a string?
What is void in java?
Is empty set an element of empty set?
If we don’t want some of the fields not to serialize how to do that?
Tell us something about set interface.
how to deploy tomcatserver to weblogic server? write d following steps?
Can a final method be overloaded?
What is array class in java?
Why is the main method static?