what is the difference between abstract class and
Interface?where we can use it in realtime projects?
Answer Posted / rashmi kalra
1. Abstract classes may have concrete methods while
interfaces have no methods implemented.
2. Interfaces do not come in inheriting chain while
abstract class come in inheritance.
| Is This Answer Correct ? | 20 Yes | 6 No |
Post New Answer View All Answers
What is the benefit of singleton pattern?
What is derived datatype?
How many ways can you break a singleton class in java?
What is difference between core java and java ee?
What is mysql driver class name?
State the merge-sort principle and its time complexity.
Can we write class inside a class in java?
What are the 6 mandatory procedures for iso 9001?
What is sortedmap in java?
How big is a boolean?
Can we clone singleton object in java?
How to change the priority of thread or how to set priority of thread?
Can you pass by reference in java?
What is a locale?
Is string a wrapper class?