Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Library with Shopping Basket

Step-by-Step Enhancements

  1. Extend the Book Case Class: Add a price attribute to the Book case class.

  2. Create a Shopping Basket: Define a class to manage the shopping basket, including adding books and calculating the total cost.

  3. Update the Library Management System: Update the main application to include the shopping basket functionality.