Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie

Can't understand this question

Options
  • 29-05-2009 3:32pm
    #1
    Closed Accounts Posts: 1,670 ✭✭✭


    This post has been deleted.


Comments

  • Registered Users Posts: 5,112 ✭✭✭Blowfish


    They are looking for the type of variable that will be returned from the function/method. e.g. char, bool, int, double, float etc. :)


  • Registered Users Posts: 515 ✭✭✭NeverSayDie


    Well, you're supposed to fill in the return type (if there is one) for each of those methods - i.e. where the "..." are. Variable "z" is just a piece of data the code has access to, doesn't affect things much otherwise.

    You need to look at each method and figure out what type of data the code will return, if any, or if it won't work at all (at least one of those methods would throw a compiler error in C#, likewise in Java I'm pretty sure).


  • Closed Accounts Posts: 1,670 ✭✭✭NiSmO


    This post has been deleted.


Advertisement