Ruby - Classes and Objects
Why might
equal? return false even if == returns true for two Ruby objects?equal? return false even if == returns true for two Ruby objects?equal? and == rolesequal? checks if two variables point to the same object in memory.== role== checks if two objects have the same value or content, regardless of identity.15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions