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
Why do we need wrapper class?
What is java used for on a computer?
Is map ordered in java?
What is a function in programming?
Can you use this() and super() both in a constructor?
What is user defined exception in Java?
What is functional interface in java example?
What are streams in java 8?
What are the ways to instantiate the class class?
How to provide security in java
What is a Presistent Object?
What is the set interface in java programming?
How does multithreading take place on a computer with a single cpu in java programming?
What do you mean by synchronized non access modifier?
How is treeset implemented in java?