refutation of previous post…bugger

An instance of a class is maybe too like the class itself and each instance has the same behaviour other than by variation in its member variables. A sub-class in an OO hierarchy takes the behaviour of its parent and adds characteristics. These additional layers are maybe what our own selves add to what it really is. So this analogy is better:

Traversing the class hierarchy back to the root class

with many thanks to Myrthis Lathrop Jnr.

huatou: what is my root class?

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

w

Connecting to %s