Originally posted by sivakumar k r:
I didn't want to call display by simply create an object of A and calling the method from that newly created object within C.
Unfortunately, the answer is still "no".
Think of it like this. You are the designer of class C, which inherits from B. Your class overrides B, and implements new functionality. But one of the reasons why you override certain methods is that some of the methods of B, are no longer valid, for your C class -- you need those objects overriden, or your class will not function correctly.
Now... do you really want some other developer to create a D class which subclasses your C class, and bypasses the method calls that you overriden?
Henry
[ February 08, 2007: Message edited by: Henry Wong ]