David Hunt:Another possibility is:
| Class Ball |
| { |
| private float radius; |
| |
| protected Ball(float radius) |
| { |
| this.radius = radius; |
| } |
| ... |
| } |
| |
| Class TennisBall : Ball |
| { |
| public TennisBall() : Ball(5.0f) |
| { |
| } |
| ... |
| } |
I like this - didn;t thought of it yet; So i can just "set" all the properties , inside the child class, and how they are used is all in the base class, and automatically and invisible.;