A

Admin • 833K Points
Coach

Q. Which of the following keywords is used to declare an interface in Kotlin?

  • (A) interface
  • (B) trait
  • (C) implements
  • (D) protocol
  • Correct Answer - Option(A)
  • Views: 9
  • Filed under category Kotlin
  • Hashtags:

Explanation by: Admin

Kotlin uses the 'interface' keyword for interface declaration.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.