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 are facelets templates?
What is hash code collision?
How do you generate random numbers in java?
What is anti pattern in java?
What is the difference between yielding and sleeping in java programming?
How can you set the applet size?
How is treeset implemented in java?
Is java platform independent?
What is increment in java?
Why is a string immutable?
Mention the default values of all the elements of an array defined as an instance variable.
Why is multithreading important?
What is difference between variable declaration and definition?
List some oops concepts in java?
What is get () in java?