when to for abstract class and when to go for interface
Answer Posted / chandra d
If your class design has multiple implementations then we
can go for Interface.
if your class design is having some specific features and
some other features may change .. then we can go for
Abstract class
| Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
what is the role of xml in core java?? and how we can use it?? can somebody give a sample program with explanation and from where i can read more about xml?????
what is inner class in java?
What is map and hashmap in java?
What is the private method modifier?
How do you classify Dialog Box?
Is 0 true or false in java?
How does remove work in java?
What is ternary operator? Give an example.
What is the difference between compile-time polymorphism and runtime polymorphism?
What is java in simple terms?
Is static a singleton?
Why do we need singleton?
How to find the given number is a prime number or not by getting input from the user
Why bytecode is called bytecode?
What is an object in java and how is it created?