比如static void main方法,如果要用到非静态方法,怎么样调用,比如说调用getClass().getClassLoader().loadClass("abc").newInstance();
我调用的时候编译通不过,难道main里面调用的都要是静态的方法才行?