Click here to Skip to main content
12,357,063 members (76,955 online)
   

C#

 
QuestionInheritance of an Abstract Class Pin
ASPnoob10-Nov-12 10:45
memberASPnoob10-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 Pin
Mycroft Holmes10-Nov-12 13:21
memberMycroft Holmes10-Nov-12 13:21 
AnswerRe: Inheritance of an Abstract Class Pin
Alan N10-Nov-12 13:27
memberAlan N10-Nov-12 13:27 
GeneralRe: Inheritance of an Abstract Class Pin
ASPnoob10-Nov-12 14:24
memberASPnoob10-Nov-12 14:24 
AnswerRe: Inheritance of an Abstract Class Pin
Richard Deeming12-Nov-12 2:09
memberRichard Deeming12-Nov-12 2:09 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    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
Web02 | 2.8.160621.1 | Last Updated 30 Jun 2016
Copyright © CodeProject, 1999-2016
All Rights Reserved. Terms of Service
Layout: fixed | fluid