Home
About Us
Contact Us
Bookmark
Saved Bookmarks
Current Affairs
General Knowledge
Chemical Engineering
UPSEE
BSNL
ISRO
BITSAT
Amazon
ORACLE
Verbal Ability
→
Programming
→
ASP Dot net Interview Questions in Programming
→
What is difference between abstract and interface?
1.
What is difference between abstract and interface?
Answer»
Abstract
Interfaces
Abstract classes cannot be implemented.
The Interfaces needs to be implemented.
They are models which can have some
METHODS
to be used by all the inherited children.
It is a contract, where the
RECEIVER
is
ASKING
a
SPECIFIC
type of input and
SENDER
agrees to send it that way.
Abstract classes can have private methods.
Interfaces can not have private methods. All the plans are public.
Show Answer
Discussion
No Comment Found
Post Comment
Related InterviewSolutions
What are Java doGet () and doPost () methods?
How garbage collection makes Java more memory efficient?
What is the use of overloading and overriding in Java?
What is the difference between boxing and unboxing in Java?
What is the difference between Errors and Exceptions in Java?
Which one is better, setter injection or constructor injection?
Can you override a static method in Java?
How many ways to handle exceptions in the Spring MVC Framework?
What are the different methods of session management in Servlet?
How can we detect and avoid deadlock in Java?
Reply to Comment
×
Name
*
Email
*
Comment
*
Submit Reply
Your experience on this site will be improved by allowing cookies. Read
Cookie Policy
Reject
Allow cookies