📄 e122. getting the component type of an array object.txt
字号:
The component type of an array is the type of an array's elements. For example, the component type of int[] is int. The component type of int[][] is int[].
object.getClass().getComponentType();
Related Examples
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -