what are the diffrences between interface and abstract
class?
Answer Posted / ravikiran
interface is a purely abstract one when we wish to
implement all the methods for different scenarios in
different places we make use of implementation of the
interface.
abstract class is the one which contains both abstract as
well as non abstarct methods,We will define this if you
want ot restrict the instantiation of the class.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Differentiate jar and war files?
What is the inheritance?
Define locale.
Is there any difference between nested classes and inner classes?
What is a databasemetadata?
Explain the transient field modifier?
What is valid keyword in java?
What is Applet Stub Interface ?
What is the parse method in java?
What is the size of boolean variable?
What is Garbage Collection in Java
Which package is used for pattern matching with regular expressions?
What is the difference between class forname and new?
What is a two-pass assembler?
What does string mean in java?