Ed Jensen wrote:

> > where the compiler prevents you from accessing
> > private variables, but the runtime allows access to these very variables
> > via reflection?
>
> Java does not allow access to private members via reflection.

Yes it does. You can call setAccessible(true) on the Method object to
override the privateness.

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to