What is the difference between abstract class and interface?
Answer Posted / venu
A programer uses an abstract class when there are some
common features of the program shared by all the objects.
A programer uses an interface when all the features of the
program are implements differently for different objects.
Is This Answer Correct ? | 3 Yes | 1 No |
Post New Answer View All Answers
How many types of equations are there?
What is meant by design patterns?
Difference between final and effectively final ?
What is string pool in java?
Can we use catch statement for checked exceptions when there is no chance of raising exception in our code?
Why bytecode is called bytecode?
What is a line break example?
How we can make copy of a java object?
What are the main differences between notify and notifyAll in Java?
How many characters is 2 bytes?
Convert Binary tree to linked list.
Is stringwriter thread safe?
Why lambda expression is used in java?
When a thread is executing synchronized methods , then is it possible to execute other synchronized methods simultaneously by other threads?
Is 0 true or false in java?