createJavaArray
Create a Java array.
array=createJavaArray(javaclass,arraysize)
Inputs
javaclass A java class or a fully qualified name of a java class.
arraysize The size of the array to construct.
Outputs
array The array of the given size.


Example
>>a=createJavaArray(Integer,[2 3 4])
>>a
[[Ljava.lang.Integer;@15ac3c9
[[Ljava.lang.Integer;@1ebd75b
>>a[1][1][2]=1
>>a
[[Ljava.lang.Integer;@15ac3c9
[[Ljava.lang.Integer;@1ebd75b
>>a[1][1]
null
1
null
null

>>a[1][2][1]=5
>>a
[[Ljava.lang.Integer;@15ac3c9
[[Ljava.lang.Integer;@1ebd75b

>>a[1]
[Ljava.lang.Integer;@25d2b2
[Ljava.lang.Integer;@12be1bd
[Ljava.lang.Integer;@1f17e77

>>a[1][1]
null
1
null
null

>>a[1][2]
5
null
null
null