Advertisement
Help Keep Boards Alive. Support us by going ad free today. See here: https://subscriptions.boards.ie/.
https://www.boards.ie/group/1878-subscribers-forum

Private Group for paid up members of Boards.ie. Join the club.
Hi all, please see this major site announcement: https://www.boards.ie/discussion/2058427594/boards-ie-2026

Can't understand this question

  • 29-05-2009 02:32PM
    #1
    Closed Accounts Posts: 1,668 ✭✭✭


    This post has been deleted.


Comments

  • Registered Users, Registered Users 2 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, Registered Users 2 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,668 ✭✭✭NiSmO


    This post has been deleted.


Advertisement