错误日志:
这个错误是因为我创建的一个类,内中又创建了一个内部类,为什么呢在new内部类的时候出现错误呢,因为类中方法(函数)是在是在public static void main(String [] args)方法写的,
而所以他是个静态(static)的运行函数,大家都知道静态方法无法调用非静态的一切东西,所以说我们也需要把需要调用的类变成静态的才行,加个static关键字。