Quiz: Composite Data Types
Test your knowledge of arrays and hashes by attempting this short quiz.
We'll cover the following...
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
Question 1 of 50 attempted
Access this course and 1400+ top-rated courses and projects.