Skip to content
Sharp

SQL for Java Devs · interview question

Why does an e-commerce app eventually need relational persistence instead of only in-memory collections?

Multiple choiceEasychapter-8-curatedpremiumsql-for-java-devsjdbc
Choose one answer
Answer and explanation

Correct answer

A. Because orders and products must survive application restarts and support real relational queries

Why

In-memory storage disappears when the process stops. Real applications need durable data plus table relationships that can be queried across orders, users, products, and inventory.

Test yourself on SQL for Java Devs

A free test with instant, explained results. No account needed.

Start free test
All SQL for Java Devs questions →