when to use abstract class and when to use interface?
Answer Posted / surendra
Always prefer to interface until you are not sure the behavior
of operations.
chose the abstract class if you are sure for some common behaviors need to share of all objects.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is the difference between assignment and initialization?
What is java reflection?
Implementations of set interface?
How we create object in copy constructor?
What is a protected method?
What are the rules for naming an array?
What is the purpose of static keyword in java?
Define a java class.
Tell me are there implementations for sorting and searching in the java libarary?
Is an integer an object?
Name container classes in java programming?
What is integer size in java?
What are the 4 versions of java?
What is bubble sorting in java?
What are constants?