Is it possible to invoke private attributes or methods via reflection

You can set the field accessible:

field.setAccessible(true);

Leave a Comment