[Home]  [Edit this page]  [Recent Changes]  [Special Pages]  [Help
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



last edited (November 14, 2006) by bilderbikkel, Number of views: 1045, Current Rev: 2 (Diff)

[Edit this page]  [Page history]  [What links here]  [Discuss this topic]  [Printer Friendly]  

Members

Username:

Password:


Register
Forgot Password?




Programmers Heaven - for .NET, Java, C/C++ and WEB Developers!
© 1996-2008 Community Networks Ltd. All rights reserved. Reproduction in whole or in part, in any form or medium without express written permission is prohibited. Violators of this policy may be subject to legal action. Please read Terms Of Use and Privacy Statement for more information. Development by Tore Nestenius at .NET Consultant - Synchron Data.