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 point of java?
What is off heap memory?
What is a nested structure?
What is the different types of functions?
What is the do while loop syntax?
What is the static block?
What is data type modifier?
What is serialization in java?
Can we modify the throws clause of the superclass method while overriding it in the subclass?
Can we declare a class as static?
Can we use catch statement for checked exceptions?
What is nested class?
What is meant by method?
What is definition and declaration?
What is the declaration statement?