The array does not have 1 element (the 0th)
Where do you give a size/number of dimensions to the aList array? Is the size value > 0?
Type: Posts; User: Norm
The array does not have 1 element (the 0th)
Where do you give a size/number of dimensions to the aList array? Is the size value > 0?
mHand could pass the value of num to b in b's constructor
To define the variable num only once, remove the "int num" line:
public class A
{
int num; // Remove this line it is a second definition of num
Please edit your code and wrap it in code...