Search:

Type: Posts; User: darego

Search: Search took 0.07 seconds.

  1. Thread: console error

    by darego
    Replies
    7
    Views
    1,103

    Re: console error

    i get a name returned for name but i don't get anything for staff[i].getName().. so this is my problem? not sure why staff[i].getName() is not returning a name
  2. Thread: console error

    by darego
    Replies
    7
    Views
    1,103

    Re: console error

    the value of name would be whatever i passed in as parameters for name and staff[i].getName() gets the name from whatever number staff object in the staff array. i can't see how these would be null?...
  3. Thread: console error

    by darego
    Replies
    7
    Views
    1,103

    Re: console error

    i really can't see how there can be a null value on line 33:
    if(name.equals(staff[i].getName()))

    i have been trying to get this problem solved for the last 2 hours so i am getting very frustrated...
  4. Thread: console error

    by darego
    Replies
    7
    Views
    1,103

    console error

    hey there, trying to do some college work although i keep getting a console error. i am tying to add three employees (an admin and 2 engineers) to the manager and then call printStaffDetails()
    ...
Results 1 to 4 of 4