Ack! I think I got it now. Private members and all constructors are not inherited by subclasses. How does this affect overriding? I'm not sure. I'm back to my original statements. Funny how RHE implies that private members are inherited. p.79 and p.83. It states that private methods can be overridden by private, default, protected or public methods. So if a private method is not inherited, does defining the exact same method be considered overriding? I guess so. Overriding is basically redefining the method. I suppose this is true whether the overridden method is private or otherwise. So I guess the answer to the question is yes. [This message has been edited by Sam Wong (edited December 14, 2000).]
Joined: Dec 07, 2000
Thanks for clearing things up, everyone. Good topic. Got me all confused.