<% int[] i =new int[10]; %>
public int[] method1() { int[] i=new int[10]; //your code return i; }
int[] j=<classref>.method1();
Comment