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
How does split work in java?
What are the java ide’s?
What is a stack class in java ?
What is t in generics in java?
What is == and === in javascript?
What is null statement?
What does yield method of the thread class do?
When should you use arraylist and when should you use linkedlist?
How many arguments can a method have java?
What is comparable and comparator interface? List their differences
Can we declare an array without size in java?
What are the super most classes for all the streams?
How do you check if two given string are anagrams?
Which method cannot be overridden in java?
What is a method in programming?