Ruby - Classes and Objects
Consider this Ruby code snippet:
arr1 = [1, 2, 3] arr2 = arr1 arr3 = [1, 2, 3] puts arr1.equal?(arr2) puts arr1.equal?(arr3)What is the output and why?
