![]() |
The Java Developers Almanac 1.4Order this book from Amazon. |
e122. Getting the Component Type of an Array ObjectThe component type of an array is the type of an array's elements. For example, the component type ofint[] is int . The
component type of int[][] is int[] .
object.getClass().getComponentType();
e121. Getting the Length and Dimensions of an Array Object e123. Creating an Array e124. Expanding an Array e125. Getting and Setting the Value of an Element in an Array Object
© 2002 Addison-Wesley. |