Home / MCQ Bank / Computer
Computer Data Types And Variables In Ruby

What is the correct way to declare and initialize an array in Ruby?

Select the best option to verify your answer:
Show Correct Answer
Correct Answer: Option A • array_name = []

Related Computer Questions

How do you close a file object (fp)? Which of the following is the smallest storage? Which of the following statements is true regarding the order of except clauses? What is used to get class name in reflection? Which of the following option is not available in Insert > Picture?