Answer Posted / ravikiran
interface is used when we want all the methods implement
the methods differnetly in different situations.
where as an abstract classis used to define abstarct as
well as non abstract methods
Is This Answer Correct ? | 15 Yes | 9 No |
Post New Answer View All Answers
Is it possible to instantiate the abstract class?
What is java oops?
What is the benefit of abstract class?
What is the difference between integer parseint and integer valueof?
What is the difference between compile-time polymorphism and runtime polymorphism?
Which is best ide for java?
What are packages in java?
What is size () in java?
Is there is any difference between a scrollbar and a scrollpane?
A non-static inner class may have object instances that are associated with instances of the class’s outer class. A static inner class does not have any object instances.
What is public static?
What are extraneous variables examples?
State the main difference between c++ and java?
What is the difference between quicksort & mergesort? When should they be used? What is their running time?
What is the formula to calculate percentage?