?? ex10(3).java
字號:
// typeinfo/Ex10.java
// TIJ4 Chapter Typeinfo, Exercise 10, page 562
// Write a program to determine whether an array of char is a primitive type
// or a true Object.
public class Ex10 {
public static void main(String[] args) {
char[] c = new char[10];
// c is an Object:
System.out.println("Superclass of char[] c: " +
c.getClass().getSuperclass());
System.out.println("char[] c instanceof Object: " +
(c instanceof Object));
}
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -