How can we invoke private method using refleciotn API(AccessibileObject class)?

Showing Answers 1 - 3 of 3 Answers

nakt

  • Nov 18th, 2005
 

You can not access the private method of a class by reflection.

  Was this answer useful?  Yes

ahujaji

  • May 14th, 2006
 

why not .... reflection is the only way by which we can access private methods of a class..

if u need the code i can provide that

  Was this answer useful?  Yes

ravisgf

  • Jun 22nd, 2006
 

How can we Access private Methods through Reflection? Please eloborate...

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions