Search:

Type: Posts; User: darego

Search: Search took 0.10 seconds.

  1. Thread: console error

    by darego
    Replies
    7
    Views
    1,115

    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,115

    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,115

    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,115

    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()
    ...
  5. Replies
    2
    Views
    1,788

    Re: eclipse question

    thanks mate
  6. Replies
    2
    Views
    1,788

    eclipse question

    hey guys. i have just went back to college recently and started studying some java again. i tried to run some of my code from last year in college but something i never seen before came up; "select...
  7. Replies
    2
    Views
    1,216

    Re: nothing prints after runing code

    i don't know how i didn't realise that. thanks a lot mate! i'm used to having the console asking me for input first :D
  8. Replies
    2
    Views
    1,216

    nothing prints after runing code

    hey guys. after running my code nothing comes out in the console for some reason (i have no errors)

    here is my code (it's a method example by my lecturer that i'm looking over)

    import...
  9. Replies
    0
    Views
    1,340

    some general info needed

    hey guys, i'll try to keep this short and simple. i'm not sure if this is the right section of the forum to post this on, if it's not please move it! or it might not even be the right forum, if so...
  10. Thread: array problem

    by darego
    Replies
    6
    Views
    2,428

    [SOLVED] Re: array problem

    thanks a lot mate. great help and very nicely explained :D
  11. Thread: array problem

    by darego
    Replies
    6
    Views
    2,428

    [SOLVED] Re: array problem

    thanks again for the reply. to answer about ArrayLists, no we have not done anymore data structures yet unfortunately (pretty sure we will start in semester 2).

    about option 1, it took me a while...
  12. Thread: array problem

    by darego
    Replies
    6
    Views
    2,428

    [SOLVED] Re: array problem

    thanks for the reply!

    i was trying to do something like option 1 but i couldn't manage to make it work, if you had a minute to do an example i'd be grateful! option 2 looks a bit advanced for me...
  13. Thread: array problem

    by darego
    Replies
    6
    Views
    2,428

    [SOLVED] array problem

    hey guys! i'm having trouble adding some stuff from a loop to an array. hopefully someone can help me. i put a comment in my code to show where I'm having trouble

    here's the assignment:
    The...
  14. Replies
    6
    Views
    1,259

    [SOLVED] Re: can't figure out..

    you're a legend mate thanks a lot :)
  15. Replies
    6
    Views
    1,259

    [SOLVED] Re: can't figure out..

    woops i forgot to add my program should has to look like this:


    Your program should match this output as closely as possible:
    Cards will be sent to:
    Termonfeckin Ferrys...
  16. Replies
    6
    Views
    1,259

    [SOLVED] Re: can't figure out..

    thanks a lot man, appreciate it!
  17. Replies
    6
    Views
    1,259

    [SOLVED] can't figure out..

    hey guys i'm pulling my hair out trying to solve this! i have been here for like 2 hours and it's probably something really easy. it's an array question:


    Every year at Christmas, the Institute...
Results 1 to 17 of 17