You can use the C$JAVA routine to create and pass Java arrays of primitive types, objects, and strings; to get and set array elements; to clear arrays; and to convert COBOL tables to Java arrays and vice versa.