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 does the @override annotation do?
Describe method overriding
What is the difference between java applets and applications?
What is data type modifier?
What is the purpose of the System class?
Can a class have multiple constructors?
Can a static class have a constructor java?
Explain purpose of sleep() method in java?
How do you reverse a string in java without using string buffer?
What is the difference between reader/writer and inputstream/output stream?
Does treeset allow null in java?
What is the difference between a checked and an unchecked exception?
What does you mean in math?
What is a top level class in java?
what is the difference between process and thread? : Java thread