在Java中,静态方法不能直接调用非静态方法,如果尝试这样做,编译器会报错,提示non-staticmethod...cannotbereferencedfromastaticcontext(无法从静态上下文中引用非...