Skip to main content
InterviewHubPRO
Section Overview
Q9

Question 9 of 50

Part 1: Architecture, Jetpack Compose & Core Components (1 - 10)

18%
Android & Jetpack Compose (50 Qs)•Part 1: Architecture, Jetpack Compose & Core Components (1 - 10)

What is Room Database in Android Jetpack?

senior LevelComponentsDocker & ContainersSystem Design

In Simple Words: Room is an abstraction layer over SQLite that provides robust database access:

  • @Entity: Represents a table in the database.
  • @Dao (Data Access Object): Defines SQL query methods with compile-time SQL verification.
  • @Database: The database holder class that serves as the main access point.
  • Natively supports reactive streaming of query results using Kotlin Flow.