what is difference between interface and abstract class..?
Answer Posted / vamsi
Abstract method means means it does n't have any
implementation.
Interface contains 0 or more abstract methods
Abstract class contains abstract methods as well as general
methods.
If any of any of the class that extends the abstract class
does n't implement some of the methods , it will be marked
as abstract.
| Is This Answer Correct ? | 4 Yes | 1 No |
Post New Answer View All Answers
What is == in java?
What do you mean by global variable?
What is the difference between yielding and sleeping in java programming?
I have multiple constructors defined in a class. Is it possible to call a constructor from another constructor’s body?
These static constructors are correct ? class A { statc intA() { } static A(int x,int y) { } static A(int x) { } }
Is arraylist a class in java?
What is the impact of declaring a method as final?
When arithmeticexception is thrown?
What is the difference between class & object?
Is main a keyword in java?
What is the difference between call by reference and call by pointer?
What type of value does sizeof return?
What's a method in programming?
Which class is the superclass for every class in java programming?
What is tcp and udp?