Difference between abstract class and Interfaces?
Answer Posted / hema
Abstract Class is the Class where it can have Methods with
both Definition and Declaration.
Method Declaration: public void Display();
Method Definition: public void Add(){ ..code goes on here...}
When all the methods in a class are only Declared then it is
Interface.
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What two classes are used to read data only?
Why isn’t there operator overloading?
Where is jre installed?
What is the use of jtable?
Is java a pure object oriented language?
What are void methods?
Why is java called the platform independent programming language?
Is namespace same as package in java?
Can we call virtual funciton in a constructor ?
Is 0 a real number?
What is the difference between == and === javascript?
Explain about field hiding in java?
What is api data?
What do you mean by local variable and instance variable?
What is a conditional statement explain with example?