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
Explain an algorithm to find depth of a binary tree.
Can we sort set in java?
How do you sing an Applet ?
What does microservices mean?
What one should take care of, while serializing the object?
Can we have more than one package statement in the source file?
Can a static method be overridden in java?
What is boolean in java?
What is difference between path and classpath variables?
What is java dot?
What is a boolean flag in java?
EDS (Electronic Data Systems India Pvt Ltd) at Chennai on 16-12-2006.
How can you set the applet size?
Does list maintain insertion order java?
What method is used to specify a container's layout in java programming?