what is the difference between abstract class and
Interface?where we can use it in realtime projects?
Answer Posted / rajesh
An abstract class must contain one abstract methiod while
in interface all method should be abstract.
Is This Answer Correct ? | 0 Yes | 2 No |
Post New Answer View All Answers
Can we use string in switch case in java?
What is final method in java?
Can an interface implement another interface?
What is the generic class?
Can we use both this () and super () in a constructor?
What are the rules for naming an array?
What if the main() method is declared as private? What happens when the static modifier is removed from the signature of the main() method?
What do you mean by an object in java?
What is a default method?
What do the thread?class methods run() and start() do?
What is the difference between hashset and treeset in java?
Explain polymorphism citing an example.
What is gui programming?
Can inner class extend any class?
Which java ide is used the most?