I have Kitchen and each Products in my Kitchen has an expiring date,
This is with x days to initialize after creation
x = for wine 3 years
for cheese 10 days
for eggs 2 days
The inquiry should be from the Kitchen - which product in the kitchen expires first?
Please anyone ready to help me implement this or give me a guideline? I am just 6 weeks into the world of Java programming, challenging myself.