Top 50 Ruby Interview Questions with Answers
1. What is Ruby? a) A programming languageb) A web browserc) A database management systemd) An operating system Answer: a) A programming language 2. Which of the following is not a valid variable name in Ruby? a) my_variableb) my-variablec) MyVariabled) myVariable Answer: b) my-variable 3. What is the difference between an instance variable and a … Read more