Thursday, January 12, 2012

Code a cl, let’s say Library, which maintains a catalogue of Books. A book can have title, isbn(it’s a num?

Code a cl, let’s say Library, which maintains a catalogue of Books. A book can have title, isbn(it’s a number similar to Book ID) and author name. As the library cl is instantiated, an empty catalogue is also created. Librarian being the user of the system, should be able to add new books, search for a particular book with its ISBN, count the number of books stored in the catalogue. He should also be able to print list of all the books in the catalogue. Write a cl to test your Library.

0 comments:

Post a Comment