Multiple Choice
Which of the following statements is not valid?
A) cars = Array.new
B) cars = %w(Pinto Corvette Viper)
C) cars = ["Pinto", "Corvette", "Viper"]
D) None of the above
Correct Answer:

Verified
Correct Answer:
Verified
Related Questions
Q26: Which of the following methods can be
Q27: Which of the following methods allows you
Q28: Which of the following methods can be
Q29: Which of the following methods automatically iterates
Q30: The inspect method can be used to
Q32: Taking the output of one method and
Q33: Ruby permits the specification of a negative
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