If all the methods in abstract class are declared as
abstract then what is difference between abstract class and
in interface?
Answer Posted / ravi sv
Multiple inheritance is possible only through interface,not
with abstract class. So if u have an interface we can go
implementing multiple interfaces rather than extending a
single abstract class.
| Is This Answer Correct ? | 15 Yes | 1 No |
Post New Answer View All Answers
Explain what pure virtual function is?
Does java list allow null?
Can constructor be static or final?
In the below example, how many string objects are created?
Can a method be overloaded based on different return type but same argument type?
Is hashset ordered?
What is boolean false?
Explain tree set and its features?
What does n mean?
What is thread start?
What is object of class in java?
Can you give names of Container classes?
What is the abstract class?
How do I type unicode?
Explain JMS in detail.