Java Array type as class

The Java Array type provides a set of utility methods to manipulate array elements.

Java array methods can be invoked with a type reference or the array variable, for example:

IMPORT JAVA java.lang.String
MAIN
    TYPE string_array_type ARRAY[] OF java.lang.String
    DEFINE names string_array_type
    LET names = string_array_type.create(100)
    LET names[1] = "aaaaaaa"
    DISPLAY names.getLength()
END MAIN