Hints
- A good starting point is to read my sample program
BankAccount.java and
BankAccountTest.java .
- You have to think of what member variables you need and what constructors
you need in class
Book
- Use
String class to implement the methods doesAuthorContain
and doesTitleContain . If you can find the right
methods to use, it just take few lines to finish the implementations. You
should refer to
String doc . To search a string in another string refer to the methods
name indexOf.
- The booklist is already in an array format.
You should read my notes on array of arrays .
- Read my notes on how to use args in the main function, you can read
a sample program here .