Home »
MCQs »
Ruby on Rails MCQs
Which of the following type of variable is available in the Ruby class?
61. Which of the following type of variable is available in the Ruby class?
- Local Variables
- Global Variables
- Class Variables
- Instance Variables
- All of the above
Answer: E) All of the above
Explanation:
Types of variables available in Ruby Class are,
- Local Variables
- Global Variables
- Class Variables
- Instance Variables