Multiple Choice
Ruby permits the specification of a negative integer value when referring to array values. An index value of -2 would refer to which item in an array?
A) The first item stored in the array
B) The second item stored in the array
C) The last item stored in the array
D) The second to last item stored in the array
Correct Answer:

Verified
Correct Answer:
Verified
Q28: Which of the following methods can be
Q29: Which of the following methods automatically iterates
Q30: The inspect method can be used to
Q31: Which of the following statements is not
Q32: Taking the output of one method and
Q34: Every item stored within a hash is
Q35: What is a collection of key-value pairs
Q36: Ruby permits the use of both real
Q37: Ruby arrays start with an index position
Q38: The following statement is an example of