Re: <p>How to access a class which has private access </p>
Posted By:
dmitriy_r
Posted On:
Thursday, August 1, 2002 03:05 PM
You can't do it directly, however I would recommend some approaches:
1. inherit you class and copy parent class implementation. In this case you loose advantages of inheritance, but can change behavior of the class
2. Use delegate approach with reflection to access private members of delegate class (ex parent).
Also check comp.lang.java.programmer archives where this topic many times discussed.