?? constructortest.java
字號:
// initialization/ConstructorTest.java
// ITJ4 Chapter Initialization, Exercise 1, p158
// Create a class containing an unitialized String reference. Demonstrate that // this reference is initialized by Java to null.
class Tester {
String s;
}
public class ConstructorTest {
public static void main(String[] args) {
Tester t = new Tester();
System.out.println(t.s);
}
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -