Basic Syntax In Ruby - Study Mode
[#36] Which of the following is supported by Ruby?
Correct Answer
(D) All of the Mentioned
[#37] Space between 2+5 or 2 + 5 is valid but =begin and = begin is not valid.
Correct Answer
(A) True
[#38] first_name,Last_name=gets.chomp,gets.chomp is the correct way to get the input from the user.
Correct Answer
(A) True
[#39] Ruby can be used for developing internet and intranet applications.
Correct Answer
(A) True
[#40] How to comment a single line?
Correct Answer
(A) Using #