What is the diff. b/w Interfaces & Abstract class?
Answer Posted / lakshman
abstract class contains constructor,but interface does not.
abstract class supports all access specifier,but interface
supports only public
programmer is responsible to provide the subclass to
abstract class but interface left the implementation for the
third party vendors.
abstract class contains both abstract methods and concrete
methods but interface contains only abstract methods
| Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
What does the “static” keyword mean?
How do you find the independent variable?
Can we declare array without size in java?
Does java arraylist maintain insertion order?
What is the difference between length and length() method in java?
what is meant wrapper classes?
What is native method in java?
What is space character in java?
What happens if we override only equals?
What is meant by data hiding in java?
Are there structures in java?
What is difference between null and void?
What is volatile keyword in java
What will happen when using pass by reference in java?
What is not thread safe?