Abhijit  Kakade
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 ??
By Abhijit Kakade in OOP/OOD on Jan 27 2015