when to use abstract class and when to use interface?
Answer Posted / rod
Ram, your last post does not make sense, can you please post
again and say it differently.
The interface methods will naturally depend on the program
you are writing. read the links I referred to ...they are
well written and clear.
| Is This Answer Correct ? | 6 Yes | 13 No |
Post New Answer View All Answers
What is the difference between jdk, jre, and jvm?
What is use of valueof () in java?
What is module in oop?
Explain why wait(), notify() and notifyall() methods are in object class rather than in the reading class?
Which class is the superclass for all the classes?
Which collection is best for sorting in java?
What lambda means?
What are the types of collections in java?
Can a top level class be private or protected?
What is boolean keyword in java?
What are keywords give examples?
Can we create object of inner class in java?
Can we change the scope of the overridden method in the subclass?
In case of inheritance what is the execution order of constructor and destructor?
What is anti pattern in java?