Consider this example :
import java.lang.reflect.Field; public class Test { public static void main(String[] args) { C c = new C(); try
Private is intended to prevent accidental misuse, not as a security mechanism. If you choose to bypass it then you can do so at your own risk and the assumption you know what you are doing.