Skip to main content
Journey Uncommon Logo
JourneyUncommon
easyKotlinsafe callSingle-choice MCQ

What is the type of the expression user?.name where user is User? and name is a non-null String?

class User(val name: String) val user: User? = User("Sam") val n = user?.name