Skip to main content
Journey Uncommon Logo
JourneyUncommon
mediumRubydup vs cloneSingle-choice MCQ

An object is frozen, then copied with both dup and clone. What does this print?

s = "hello".freeze puts s.dup.frozen? puts s.clone.frozen?