i am initializing an array data like:
public class Array {
int data[] = new int[10];
/** Creates a new instance of Array */
public Array() {
data[10] = {10,20,30,40,50,60,71,80,90,91};
}
}
NB points an error at the line data[10] = {10,20,30,40,50,60,71,80,90,91};
i cudn't get wat it is? any suggestions.