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
What is files manifesting?
When can you say a graph to be a tree?
What is the difference between size and length in java?
Does java linked list allow duplicates?
When will we use them?
What is use of a abstract variable?
What is public static void main?
Why we used break and continue statement in java?
Difference between process and thread?
Does .length start 0 java?
Write a program to print all permutations of string?
What are the restrictions that are applied to the java static methods?
What is a byte string?
What is the same as procedures?
What is mean by encoding?