Skip to main content
Journey Uncommon Logo
JourneyUncommon
easyKotlinextension functionsSingle-choice MCQ

What happens when an extension function has the same signature as an existing member function?

class Box { fun show() = "member" } fun Box.show() = "extension" println(Box().show())