[Home]
[Edit this page]
[Recent Changes]
[Special Pages]
[Help]
BaseClass
You are a derived class. Althought this may seem humorous, you are derived from two base classes - mother & father. But in programming it is not necessary that a derived class should have two base classes. A derived class can have two or more base classes.
Again based on how a derived class is related to its base class (or classes) we can talk of inheritance.
[Edit this page] [Page history] [What links here] [Discuss this topic] [Printer Friendly]
BaseClass
(Computer science) Base class
A base class conceptually is something like your parent. You may inherit your mother's eyes, nose or some behaviour. Basically your mother has defined some part of you, for you. She is some kind of a base class. Similarly you can inherit features of your father too. This could be, say, his walking style, etc. Again your father is somewhat of a base class.You are a derived class. Althought this may seem humorous, you are derived from two base classes - mother & father. But in programming it is not necessary that a derived class should have two base classes. A derived class can have two or more base classes.
Again based on how a derived class is related to its base class (or classes) we can talk of inheritance.
Language specific links
[Edit this page] [Page history] [What links here] [Discuss this topic] [Printer Friendly]
