Exercise: The Expired Product Purge
Explore how to manage warehouse inventory data by loading products from a CSV file, parsing details, and using Java Collections to remove expired or out-of-stock items safely. Understand file handling, safe list iteration with iterators, and criteria-based filtering useful for real-world data management.
We'll cover the following...
We'll cover the following...
Problem statement
You are maintaining the database for a warehouse. You have received a CSV file (products.csv) containing the current inventory. Each line represents a product with its ...