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 class allows you to read objects directly from a stream in java programming?
What are the steps in the jdbc connection?
Name four container classes.
Which is bigger float or double?
What is skeleton and stub? What is the purpose of those?
What state does a thread enter when it terminates its processing in java programming?
Can we increase size of array?
What is the properties class in java programming?
How to instantiate member inner class?
Explain restrictions on using enum?
Why arraylist is used in java?
What is a finally block?
What is lambda in java?
Is sizeof a preprocessor?
What is unmodifiable list in java?