Home > Software > .NET > Dot-Net
Interview Questions   Tutorials   Discussions   

Dot-Net - Difference between abstract class and interface?

    Next Topic

asked mar September 26, 2014 03:09 PM  

Difference between abstract class and interface?


1 Answers

answered By siddhant   0  

Difference between abstract class and interference:-

  1. Abstract classes can have complete methods unlike interface.
  2. Abstract classes can have fields unlike interfaces.
  3. Abstract classes have to be extended unlike interface where these are implemented(in Java only).
  4. Abstract member methods of an abstract class can have different access unlike interfaces where every method defined is public.
  5. Abstract member methods that are complete can be static but none of the interface methods can be.
   add comment

Your answer

Join with account you already have



Ready to start your tutorial with us? That's great! Send us an email and we will get back to you as soon as possible!