FileDocCategorySizeDatePackage
IntArray.javaAPI DocExample352Tue Dec 12 18:58:26 GMT 2000None

IntArray

public class IntArray extends Object

Fields Summary
Constructors Summary
Methods Summary
public static voidmain(java.lang.String[] args)

    IntArray p = new IntArray();
    int arr[] = new int [10];
    for (int i = 0; i < 10; i++)
      arr[i] = i;
    int sum = p.sumArray(arr);
    System.out.println("sum = " + sum);
  
private native intsumArray(int[] arr)