Home
About Us
Contact Us
Bookmark
Saved Bookmarks
Current Affairs
General Knowledge
Chemical Engineering
UPSEE
BSNL
ISRO
BITSAT
Amazon
ORACLE
Verbal Ability
→
Java Abstraction Tutorial
→
Java Abstraction Interview Questions in Java Abstraction Tutorial
→
Differentiate An Interface And An Abstract Class?
1.
Differentiate An Interface And An Abstract Class?
Answer»
An abstract
CLASS
may have many instance methods which sport default behavior.
On the other hand, an
INTERFACE
cannot implement any default behaviour.
However, it can declare
DIFFERENT
constants and instance methods.
Whereas an interface has all the public
MEMBERS
, an abstract class contains only class members like private, protected and so on.
Show Answer
Discussion
No Comment Found
Post Comment
Related InterviewSolutions
How Do We Use Comparator And Comparable Interfaces?
How Can We Define An Interface?
Can An Inner Class Be Built In An Interface?
What Will Happen If We Do Not Override All The Abstract Methods In Sub-class?
Differentiate An Interface And An Abstract Class?
Can We Use Public, Protected And Default Modifiers With Abstract Method?
Can We Declare Abstract Method As Private?
Can We Declare Abstract Method As Final?
Can We Declare Abstract Method As Static?
Can We Create Instance Of Interface?
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