Home / MCQ Bank / Computer
Computer Classes And Objects In Ruby Difficulty: Medium

What does the attr_accessor method do in Ruby?

Select the correct option to test your answer:

More Computer Questions

Which of the following functions results in an error? What constant defined in <climits> header returns the number of bits in a char? Which of the following property specifies the number of times an animation should run? Which algorithm in C++ STL is used to find the first occurrence of a value in a range? What does the command gem uninstall gem_name do in Ruby?