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 mvc in java?
What is the diffrence between inner class and nested class?
What is lambda programming?
Is vector thread safe in java?
Do I need java on my computer?
List some important characteristics on jre
Can you make a constructor final?
What is a return in java?
What is difference between length and length() method in java ?
What is thread start?
How can an exception be thrown manually by a programmer?
Which list is sorted in java?
What is the difference between method overriding and overloading?
Where local and global variables are stored?
What is keyword in oop?