Search:

Type: Posts; User: Norm

Search: Search took 0.18 seconds.

  1. Replies
    11
    Views
    1,826

    Re: array element declaring problem

    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?
  2. Replies
    11
    Views
    1,826

    Re: array element declaring problem

    mHand could pass the value of num to b in b's constructor
  3. Replies
    11
    Views
    1,826

    Re: array element declaring problem

    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...
Results 1 to 3 of 3