e122. getting the component type of an array object.txt
来自「这里面包含了一百多个JAVA源文件」· 文本 代码 · 共 7 行
TXT
7 行
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 + =
减小字号Ctrl + -
显示快捷键?