What is the output of the following code in Ruby? x= "A" + "B" puts x y= "C" << "D" puts y
Correct Answer: AB CD
Explanation:
Note: This Question is unanswered, help us to find answer for this one
Ruby On Rails Skill Assessment
Your Skill Level: Poor
Retake Quizzes to improve it
More Ruby On Rails MCQ Questions
Which gem is used to install a debugger in Rails 3?
What exception cannot be handled with the rescue_from method in the application controller? e.g class ApplicationControllers < ActionController::Base rescue_from Exception, with: error_handler .......... end
What component of Rails are tested with unit tests?
Which of the following replaced the Prototype JavaScript library in Ruby on Rails as the default JavaScript library?
If a method #decoupage(n) is described as O(n^2), what does that mean?
What is the output of the following code in Ruby? x= 'A' + 'B' puts x y= 'C' << 'D' puts y
Which of the following items are stored in the models subdirectory?