This is a discussion on Difference between abstract class and interface within the C# Programming forums, part of the Software Development category; What is the difference between abstract class and interface? a) All the methods declared inside an interface are abstract whereas ...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
| |||
| What is the difference between abstract class and interface? a) All the methods declared inside an interface are abstract whereas abstract class must have at least one abstract method and others may be concrete or abstract. b) In abstract class, key word abstract must be used for the methodsWhereas interface we need not use that keyword for the methods. c)Abstract class must have subclasses whereas interface can’t have subclasses. |
| Sponsored Links |
![]() |
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| difference between abstract class and interface | vijayanand | Java Programming | 2 | 11-27-2007 09:19 PM |
| List out all the similarities/difference between an Abstract class and Interface? | H2o | ASP and ASP.NET Programming | 1 | 07-24-2007 03:16 AM |
| What’s the difference between an interface and an abstract class? | Sabari | Java Programming | 1 | 07-17-2007 05:00 AM |
| interface extending a class | vigneshgets | Java Programming | 0 | 05-22-2007 04:13 AM |
| Abstract Class | nhoj | Java Programming | 1 | 05-08-2007 05:35 AM |