J

Jatin Pandit • 395 Points
Valuable

Q. Which annotation is used with Room to create a database entity?

  • (A) @PrimaryKey
  • (B) @Entity
  • (C) @Database
  • (D) @RoomObject

Explanation by: Jatin Pandit
@Entity marks a class as a table in the Room database.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.