Home
About Us
Contact Us
Bookmark
Saved Bookmarks
Current Affairs
General Knowledge
Chemical Engineering
UPSEE
BSNL
ISRO
BITSAT
Amazon
ORACLE
Verbal Ability
→
Igate Technical Tutorial
→
Igate Technical Interview Questions in Igate Technical Tutorial
→
What Is The Difference Between Abstract Class And...
1.
What Is The Difference Between Abstract Class And Interface?
Answer»
An Interface contains
METHODS
with only signatures and no body.
An Abstract class contains method signatures with or without body.
A class can implement several interfaces inside it.A class can inherit from a single Abstract class.
By default, interface has public
ACCESS
MODIFIERS
.It cannot use any other access modifiers. An Abstract class can have any access modifiers.
No variables and constants can be defined in a class.An abstract class can have variables and constants.
Show Answer
Discussion
No Comment Found
Post Comment
Related InterviewSolutions
What Do You Understand By Value Type And Reference Type In .net Framework ?
Differentiate Between Static And Non-static Variables ?
Why We Use Garbage Collection In Java ?
What Do You Understand By Serialization ?
What Do You Understand By A Foreign Key In Sql?
Explain About Daemon Thread ?
Write A Program To Find The Factorial Of A Number ?
What Is Data Abstraction In A Database System ?
Write A Program To Swap Two Given Strings Without Using Any Third Variable ?
Which Is The Smallest Package In Java Api ?
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