Cover Page by Gary Cornell, Cay S. Horstmann

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

O'Reilly logo

12.7. Accessing Array Elements

All array types of the Java programming language have corresponding C types, as shown in Table 12.2.

Table 12.2. Correspondence between Java Array Types and C Types

Image

Image C++ Note

In C, all these array types are actually type synonyms of jobject. In C++, however, they are arranged in the inheritance hierarchy shown in Figure 12.3. The type jarray denotes a generic array.

Image

Figure 12.3. Inheritance hierarchy of array types ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required