ObjectiveMcq
Print Protected
This page is protected for print. Use the website to view the content.
How can you create a single abstract method (SAM) interface in Kotlin?
Correct Answer: C — By defining a functional interface
Kotlin allows creating single abstract method (SAM) interfaces by defining a functional interface, which can have only one abstract method.