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

What does this safe-call chain print when middle is null?

class A(val b: B?) class B(val c: String) val a = A(null) println(a.b?.c?.length)