Seats booked

Report a typo

Here is a plurals resource:

<plurals name="seats">
    <item quantity="zero">No seats booked</item>
    <item quantity="one">%d seat booked</item>
    <item quantity="other">%d seats booked</item>
</plurals>

What is the expected value of the variable seatsBooked after the execution of the code below?

val x = 0
val seatsBooked = resources.getQuantityString(R.plurals.seats, x, x)
Enter a short text
___

Create a free account to access the full topic