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
Differentiate between postfix and prefix operators in java.
What is the file extension for java?
What is the purpose of a default constructor?
Can we force garbage collector to run ?
How big is a 64 bit float?
Which containers use a flowlayout as their default layout in java programming?
How do you compare values in java?
What is meant by 'Class access modifiers'?
What is the basic concepts of OOPS?
What are facelets templates?
What is comparator in java?
What type of variable is error flag?
What are the advantages of compiled language?
What is method overloading and method overriding?
What are the two types of java programming?