interface Show
{
int mul(int m,int n);
}
class check implements Show
{
public int mul(int m,int n)
{
return m*n;
}
}
class test
{
private static int g;
   test(String a,int b,int c)
   {
  try{ 
   Show d=(Show)Class.forName(a).newInstance();
   g=d.mul(b,c);
   }

     catch(Exception e)
     {
        e.printStackTrace();
 }
   }
   public static void main(String args[])
   {
   new test(args[0],Integer.parseInt(args[1]),Integer.parseInt(args[2]));
   System.out.println(test.g);  
   }
}
怎么执行的时候 java test check 12 32
怎么是错的呢?
编译没问题