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

A Kotlin file uses @file:JvmName and a top-level function has @JvmName. What is the correct description of how the names are resolved from Java?

@file:JvmName("Utils") package com.x @JvmName("parseStrict") fun parse(input: String): Int = input.toInt()