Click here to Skip to main content
       

C#

 
QuestionInheritance of an Abstract Class [modified] PinmemberASPnoob10-Nov-12 10:45 
Hi all, can someone please clear things up for me regarding inheriting an abstract class. According to msdn.com[^] the following are some of the features of an abstract class:
It is not possible to modify an abstract class with the sealed modifier, which means that the class cannot be inherited. 
 
A non-abstract class derived from an abstract class must include actual implementations of all inherited abstract methods and accessors.
The first sentence says that the class cannot be inherited but the second sentence says you can have a non-abstract class which is derived from an abstract class. If I'm not mistaken, a derived class is a class that inherits from another class. Thanks in advance for your response.

modified 10-Nov-12 17:16pm.

AnswerRe: Inheritance of an Abstract Class PinmemberMycroft Holmes10-Nov-12 13:21 
AnswerRe: Inheritance of an Abstract Class PinmemberAlan N10-Nov-12 13:27 
GeneralRe: Inheritance of an Abstract Class PinmemberASPnoob10-Nov-12 14:24 
AnswerRe: Inheritance of an Abstract Class PinmemberRichard Deeming12-Nov-12 2:09 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.


Advertise | Privacy | Mobile
Web04 | 2.8.140721.1 | Last Updated 26 Jul 2014
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid