Skip to content
RED SAGSkills
hard20 pts · first answer countscross-platform-mobiledart

Sealed classes and exhaustive switch

A `sealed class PaymentState` has three subclasses: Idle, Loading and Failed. A switch expression handles only Idle and Loading. What happens?

Choose one answer

Discussion 0

Join free to post in the discussion.

Related questions