ObjectiveMcq
Print Protected
This page is protected for print. Use the website to view the content.
Which of the following is true about extension functions in Kotlin?
Correct Answer: D — They allow adding new functionality to existing classes without inheritance
Extension functions in Kotlin let you add new functionality to existing classes without modifying their source code or inheriting from them.