public class Test { ========================================================================= false Exception in thread "main" java.lang.NullPointerException at Test.dummy(Test.java:15) at Test.main(Test.java:4) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:483) at com.intellij.rt.execution.application.AppMain.main(AppMain.java:144) Process finished with exit code 1 |
|
来自: 小胡子的是也 > 《Language》