Getting the Field Objects of a Class Object: By obtaining a particular Field object.
import java.lang.reflect.Field; public class Main { public static void main(String[] argv) throws Exception { Class cls = java.awt.Point.class; Field field = cls.getField("x"); System.out.println(field); } }