Skip to main content
Journey Uncommon Logo
JourneyUncommon
hardKotlinJava interop JvmStatic JvmNameSingle-choice MCQ

How does @JvmStatic on a companion-object function change the bytecode that gets generated, compared to the same function without it?

class Service { companion object { @JvmStatic fun create(): Service = Service() } }