Hi all,
I want to inherit the private class and access the private variables is it possible?
Loading
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
VulpesPosted Nov 19, 2012, 7:55 AM
It's also possible to instantiate and access the private members of a private class using reflection.
Here's an example which illustrates both concepts: