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
How to reverse string in java?
what is synchronization and why is it important? : Java thread
How java is similar to c?
Explain the purpose of garbage collection in Java?
Is void a return type?
What are java packages?
What is singleton class and how can we make a class singleton?
Can an object be null?
What is the base class of all classes?
Why object class is super class for every class in java?
How do you define a set in java?
What is garbage collection? What is the process that is responsible for doing that in java?
Can singleton class be inherited in java?
What is the simpletimezone class in java programming?
What is data object example?