Commit 1f7bf702 authored by ma yanling's avatar ma yanling
Browse files

5

parent f01e9f5b
...@@ -20,5 +20,8 @@ public class MyFirstApp ...@@ -20,5 +20,8 @@ public class MyFirstApp
public class Test public class Test
{ {
test int [] array=null;
List list = null;
System.out.println(array[0]); //空指针异常
System.out.println(list.get(0)); //空指针异常
} }
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment