1.

Each element in an array has an index and the starting index is index 1.(a) True(b) FalseThis question was posed to me in quiz.I would like to ask this question from Arrays in division Arrays and Hashes in Ruby Programming Language of Ruby

Answer»

The correct choice is (b) False

The BEST EXPLANATION: Array’s starting INDEX is index 0 not index 1.



Discussion

No Comment Found