Answer Posted / debapriya patra
Interface:
Through interface we get the multiple inheritance
in java.And we implement interfaces to override the
abstract methods it contains.
Abstract class:
We also use abstract classes to override the
abstract methods that it contains.Otherwise the child class
will mentioned as abstract.
If we wants to prevent a class from instantiation then we
mentioned it as abstract.
Is This Answer Correct ? | 25 Yes | 18 No |
Post New Answer View All Answers
What is command line used for?
Is linked list a linear or non-linear data structure?
Can we have multiple catch block for a try block?
What is type safety in java?
What is composition in java?
What is update method called?
What are the advantages of java over C++?
How do I know if java is installed?
what is meant wrapper classes?
What are the 4 versions of java?
What is the exact difference in between Unicast and Multicast object? Where will it be used?
Why map is used in java?
What is final class?
What is the best way to findout the time/memory consuming process?
What is finalize method?