Skip to main content
Journey Uncommon Logo
JourneyUncommon
easySwiftstructs vs classesSingle-choice MCQ

Which statement about class instances assigned to two `let` constants is correct?

class Box { var n = 0 } let x = Box() let y = x y.n = 42