Home / MCQ Bank / Computer
Computer Classes And Objects In Ruby

What is the method used to define instance variables in Ruby?

Select the best option to verify your answer:
Show Correct Answer
Correct Answer: Option A • @variable_name

Related Computer Questions

How do you restore the heap property after extracting the maximum element from a max-heap? Which of the following specify the approximate range of colors? The technique, for sharing the time of a computer among several jobs. Which switches jobs so rapidly such that each job appears to have the computer to itself: What happens if you try to access an array element at an index that is out of bounds in Java? If malloc() and calloc() are not type casted, the default return type is ______