Quiz: Composite Data Types
Test your knowledge of arrays and hashes by attempting this short quiz.
We'll cover the following...
We'll cover the following...
Technical Quiz
1.
What is the output of the following code?
array = ["a","b","c"]
puts array[-1]
A.
a
B.
b
C.
c
D.
This throws an error
1 / 5