A

Admin • 833K Points
Coach

Q. Which Kotlin keyword is used to define an enumeration?

  • (A) enum
  • (B) enum class
  • (C) enumerate
  • (D) enumtype
  • Correct Answer - Option(B)
  • Views: 16
  • Filed under category Kotlin
  • Hashtags:

Explanation by: Admin

Kotlin uses 'enum class' to declare enumerated types.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.