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
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

Java Exercise Problem

  • 24-11-2005 12:56pm
    #1
    Closed Accounts Posts: 1


    Hi, Ive been given a excercise to do for college but im after getting stuck. I have some of the code already done and the question is included. i want to be able to search an object array for a string in the isfound() method in BookFile.Please Help


Comments

  • Registered Users, Registered Users 2 Posts: 304 ✭✭PhantomBeaker


    One, you may want to check here: http://www.boards.ie/vbulletin/showthread.php?t=257448

    Two, how much of this have you done yourself, and how much is just what's provided by your lecturer, because a lot of that looks a mess to me...

    Initial questions you should ask yourself, and be able to answer:
    Why is BookFile extending Book?
    Why is the Book class there?
    What do you think is happening when you call putBook()?
    What IS happening when you call putBook()? (hint: you'll want to adapt toString() to tell you what's happening there)

    That's just for starters.

    Take care,
    Aoife


  • Registered Users, Registered Users 2 Posts: 11,990 ✭✭✭✭Giblet


    This is IT Tallaghts CA, tut tut.


Advertisement