X423: Build book list

The local library needs help keeping track of overdue books. Currently, the library has a record of each book checked out but wishes to compile a straightforward list of all overdue books. The information on each book is contained in the pre-created Book object. The Book object has the following fields: getNumDaysOut() and getRenterName(). Write a method that takes in an array of book objects and compiles an array list of overdue books. A book qualifies as overdue if its been out for five days.

Your Answer:

Reset

Practice a different Java exercise

Feedback

Your feedback will appear here when you check your answer.