What is the significance of the object_id in the example below? I read the documentation in Ruby Doc and it said that it returns an integer identifier for
obj. Please explain what does it mean by that and how this can be used in a program?
puts "string".object_id puts "string".object_id puts :symbol.object_id puts :symbol.object_id