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
Explain about object oriented programming and its features?
What is the difference between a scrollbar and a scrollpane?
How do I stop concurrentmodificationexception?
Why do we use return statement?
What means public static?
State the significance of public, private, protected class?
Why packages are used?
What is boolean keyword in java?
What is array pointers ?
What is runtime locatable code?
What is string in java with example?
Difference between nested and inner classes ?
What is collections framework?
Is it possible to compare various strings with the help of == operator? What are the risks involved?
How do you delete a list in java?