public class Main { public static void main(String[] argv) throws Exception { Object o = new String(); Class sup = o.getClass().getSuperclass(); // java.lang.Object }}