M

Mr. Dubey • 52.30K Points
Coach

Q. What is the output of the given code?
a=["hey", "ruby", "language"]
b=[1, 2, 3]
puts b[1]
puts a[2]

  • (A) 3 ruby
  • (B) Error
  • (C) 2 language
  • (D) None of the mentioned

No solution found for this question.
Add Solution and get +2 points.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.