Search⌘ K
AI Features

Exercise: Inventory Price Updater

Implement a Java method to read a JSON file of products into an array of records, increase each price by 10%, and write the updated array to a new file. This exercise teaches you how to work with JSON data using Jackson, handle immutable Java Records, and perform precise price calculations for currency formatting.

Problem statement

You are maintaining an inventory system. Due to inflation, store management ...