... code/rails_xt/sample_output/array_literals.irbirb(main):0 02: 0> [1 ,2] + [3]=> [1, 2, 3]irb(main):003:0> [1 ,2, 3]* 2 => [1, 2, 3, 1, 2, 3]irb(main):004:0> [1 ,2, 1] - [2] => [1, 1]irb(main):005:0>[1 ,2] / 2 NoMethodError: ... have shownhere. For example, you can perform a transformation on each item in acollection using collect:irb(main):017:0> [1 ,2, 3,4,5].collect {|x| x** 2} => [1, 4, 9, 16, 25 ]CONTROL FLOW ... hyphenated lastname. The next sections build Persons one step a time; for completelistings, see Figure 2. 2, on page 62, and see Figure 2. 3, on page 63.Declaring FieldsThe J ava Person begins with...