User Id :    Password :      New Member   Forgot Password  
Topic: Difference between abstract and interface
Anamika singh
13 Aug 2011 at 06:24 AM
Difference between abstract and interface?
Re: Difference between abstract and interface
Gaurav
14 Aug 2011 at 07:11 AM

Interface:
1.Interface has only Signature.
2. All the Methods are Public, It doesn't have access Modifier Controls
3.It have used Multiple inheritance in the Object oriented Language
4.All the Methods are Abstract.
5.It does not have Contructor,destructor,Fileds
6.A Class May inherits several Interfaces

Abstract Class:
1.Abstract Class have Method definition and Implementation
2.It have control the Access Modifiers
3.It does not allow multiple Inheritance
4.Some methods are concrete
5. It have Constructor and destructor
6.Only one abstract have to derived

Total Replies: 1
 
Featured Text Ad

Featured Ad