what is difference between interface and abstract class..?
Answer Posted / kumar
Interface:
1)It will contain only abstract methods
Abstract Class:
1)Any class can be declared an abstract class ,but if a
class contains an abstract method it should be declared as
an abstract class.
| Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
What does a method signature consist of?
Is it possible for a yielded thread to get chance for its execution again?
Does isempty check for null?
Which list does not allow duplicates in java?
Why is flag used in java?
What is cr keyboard?
Can arraylist hold different types java?
How do you remove duplicates in java?
Define linked list and its features with signature?
Why does abstract class have constructor?
How do you detect memory leaks?
What is difference between static class and normal class?
Can we override private method in java?
When will we use them?
Can we modify the throws clause of the superclass method while overriding it in the subclass?