when to for abstract class and when to go for interface
Answers were Sorted based on User's Feedback
Answer / sumit kumar
if your class design have some common and some different
behavior then go for - abstract class
if your class design have only different behavior then go
for interface.
| Is This Answer Correct ? | 12 Yes | 2 No |
what are the application of compiler and interpreter for source program
String class is defined under which package in java?
what is language and it responsibilities
When arithmeticexception is thrown?
How many types of classes are there in java?
What is null data type?
What are the types of java?
Hi, well i am unable to understand that why it is mandatory to have same hashcode, if two objects are same? Thanks in advance.
How to declare an arraylist in java?
How we can declare a static variable?
Explain jvm, jre, and jdk?
explain about method overloading and method overriding with difficult examples