Exercises

Exercises

1:

Define object, class, and method.

2:

What is the difference between a Ruby hash and a Ruby array? How is each declared?

3:

Describe two built-in Ruby classes.

Questions and AnswersChapter 10.           Getting Started with Ruby Games