0
Reply

Suppose you have 3 classes - ClassA , ClassB , ClassC ClassA will have 3 method MethodA() , MethodB(), MethodC().You are inheriting this ClassA in ClassB and ClassC.You want to MethodB Should not be accessible in ClassC , and MethodC Should not be accessible in ClassA. how you will design classes and inheritance ? is that possible in OOP's ??