public class Main { public static void main(String[] argv) throws Exception { Object object = new String(); try { Class cls = Class.forName("java.lang.String"); } catch (ClassNotFoundException e) { } } }