If all the methods in abstract class are declared as
abstract then what is difference between abstract class and
in interface?
Answer Posted / prasad bhagwat
You can inherit the abstract class and use only those
methids which you want.
But in Interface you have you implement every method.
| Is This Answer Correct ? | 7 Yes | 18 No |
Post New Answer View All Answers
What are the differences between processes and threads?
What is the applet security manager, and what does it provide?
Difference between ‘is-a’ and ‘has-a’ relationship in java?
State the merge-sort principle and its time complexity.
Explain about main thread in java?
FOR EXAMPLE WE R HAVING TWO LIST ELEMENTS ..BOTH LISTS CONTAINS ID,NAME,PLACE ..I NEED TO COMPARE BOTH IDS IN TWO LISTS,IF ID'S R SAME MEANS WE HAVE ADD THE DETAILS(LIKE NAME,PLACE) TO MAP...HOW IS POSSIBLE ?CAN ANY ONE SUGGEST?
Is it correct to say that due to garbage collection feature in java, a java program never goes out of memory?
What is a type parameter in java?
what is thread in Java ?
What are java annotations?
What are white spaces in java?
How is it possible for two string objects with identical values not to be equal under the == operator?
What are selection structures?
What is the difference between access specifiers and access modifiers in java?
What is identifier in java?