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
What is a java list?
Can a variable be local and static at the same time?
Can a function return a function?
Explain public static void main(string args[]) in java.
explain the difference between jdk and jvm?
What is ++ a in java?
Is it correct to say that due to garbage collection feature in java, a java program never goes out of memory?
How to implement an arraylist in java?
How many days will it take to learn java?
Give an example of use of pointers in java class.
Can you explain the final method modifier?
Tell me a few examples of final classes defined in Java API?
What is a line separator in java?
Can we catch more than one exception in a single catch block?
What is nested top-level class?