Multiple Choice
Which of the following methods can be used to remove all of the items from an array?
A) empty
B) remove
C) delete
D) clear
Correct Answer:

Verified
Correct Answer:
Verified
Related Questions
Q4: An easy way to determine if a
Q5: An array's index begins at 0 and
Q6: Which of the following methods can be
Q7: Ruby requires that the size of an
Q8: In contrast to an array, the time
Q10: An array is an indexed collection of
Q11: The clear method can be used to
Q12: The Hash class's delete method can be
Q13: As a hash grows in size it
Q14: Like most other programming languages, Ruby requires