View Single Post
Old 03-24-2006, 01:59 AM   #2 (permalink)
Belisarius
Java fanboy
 
Belisarius's Avatar
 
Join Date: Aug 2003
Posts: 1,161
Belisarius is on a distinguished road
All inheiritence is is when you extend a class and add some functionality. It's very straight forward - simply use the "extends" keyword when defining a class. It's covered under Learning the Java Language.

Polymorphism is a very simple concept that I can't remember the text-book definition of right now. Basically you start to use it naturally and don't think of it as ploymorphism. I have to run but when I get the chance I'll look up what it means and give you a few examples.
__________________
GitS

Last edited by Belisarius; 03-24-2006 at 12:26 PM.
Belisarius is offline   Reply With Quote