Results 1 to 2 of 2

Thread: Interface Vs Abstract class

  1. #1
    PerrySullivan is offline Senior Member
    Join Date
    Dec 2009
    Posts
    209
    Rep Power
    3

    Default Interface Vs Abstract class

    I am last year MCA student. Currently I am learning object oriented programming (OOPS) concept. I am confused between interface and abstract class. Also I want to know difference between an Interface and an Abstract class. I am not getting any perfect answer. Please reply me as soon as possible.

  2. #2
    RussellBarnes is offline Senior Member
    Join Date
    Dec 2009
    Posts
    214
    Rep Power
    3

    Default

    Difference between Interface and Abstract class

    • Abstract class defines only some or none of the methods, but interface defines all the methods.

    • In Abstract Class as a minimum one method is undefined whereas in interface all method is undefined

    • Abstract Class s not comes in inheritance but interface come in inheritance chain.\

    • Abstract classes are faster than interfaces.

Similar Threads

  1. Abstract class and interface
    By ThompsonHarris in forum Programming
    Replies: 2
    Last Post: 07-07-2010, 01:51 PM
  2. Difference between an Interface and an Abstract class
    By JacksonPerez in forum Programming
    Replies: 2
    Last Post: 04-27-2010, 01:42 PM
  3. Abstract course or Interfaces in C#
    By TaylorRyan in forum Software Jargons
    Replies: 1
    Last Post: 04-20-2010, 01:34 PM
  4. JSlider class
    By Brownchris in forum Programming
    Replies: 2
    Last Post: 02-17-2010, 01:13 PM
  5. SqlConnection Class
    By WilsonMartin in forum Programming
    Replies: 1
    Last Post: 01-30-2010, 02:34 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
SEO by SubmitEdge

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48