Skip to main content
Journey Uncommon Logo
JourneyUncommon
hardRubymethod lookup and ancestorsSingle-choice MCQ

After the code below runs, what is the result of `K.new.who`, and why?

module X; def who; "X"; end; end module Y; def who; "Y"; end; end class K include X include Y include X # X is already in the chain end