📄 invoke_1.java
字号:
// Test of failing method invocation.public class Invoke_1{ public void call_me () { System.out.println ("no"); } public static Invoke_1 get_i () { return null; } public static void main (String[] args) { Invoke_1 i = get_i (); try { i.call_me (); } catch (NullPointerException ok) { System.out.println ("ok"); } }}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -