Multiple Choice
What happens when you create a DAO method and annotate it with @Insert?
Example:
@Dao
interface MyDao {
@Insert(onConflict = OnConflictStrategy.REPLACE)
Fun insertUsers(vararg users: User)
}
A) Room generates an implementation that inserts all parameters into the database in a single transaction.
B) Room modifies a set of entities, given as parameters, in the database. It uses a query that matches against the primary key of each entity.
C) Room removes a set of entities, given as parameters, from the database. It uses the primary keys to find the entities to delete.
Correct Answer:

Verified
Correct Answer:
Verified
Q9: With a room database. When performing queries,
Q10: When scheduling unique work, you must tell
Q11: In Android 8.0, API level 26, some
Q12: Select 3 major components of the Room.
Q13: In our TeaViewModel class, that extends ViewModel
Q15: Android uses adapters (from the Adapter class)
Q16: Custom views and directional controller clicks. On
Q17: If you are working with a Builder
Q18: Assume that an app includes a default
Q19: What do you want from Room when