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

The instance is held in a `let` constant. Does the assignment to `value` compile?

class Box { var value = 0 } let box = Box() box.value = 10 print(box.value)