What is the main advantage of Room over raw SQLite?
- A SQL is verified at compile time, so query errors are build failures rather than runtime crashes
- B It is faster than SQLite
- C It requires no schema
- D It stores data in the cloud
Answer
SQL is verified at compile time, so query errors are build failures rather than runtime crashes
Room also returns Flow, so the UI updates automatically when the data changes, and integrates with coroutines to run off the main thread.





