Ruby - Class Methods and Variables
Consider this Ruby code snippet:
str = "hello" str.freeze copy = str.dup puts copy.frozen?What is the output and why? If there is an error, identify and fix it.
