CSC/ECE 517 Summer 2008/wiki1 6 arraysandhashes: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
= Comparison of Arrays and Hashes in Java and Ruby = | |||
Arrays and hashes are built into Ruby. Arrays, of course, are built into Java too, but hashes are only available through library classes. Compare Ruby and Java arrays, as well as hashes. Write equivalent code sequences in the two languages that illustrate the convenience of programming these constructs in both languages. | Arrays and hashes are built into Ruby. Arrays, of course, are built into Java too, but hashes are only available through library classes. Compare Ruby and Java arrays, as well as hashes. Write equivalent code sequences in the two languages that illustrate the convenience of programming these constructs in both languages. | ||
[[CSC/ECE 517 Summer 2008/wiki1 Assignment|Back to the assignment page]] | [[CSC/ECE 517 Summer 2008/wiki1 Assignment|Back to the assignment page]] |
Revision as of 17:06, 29 May 2008
Comparison of Arrays and Hashes in Java and Ruby
Arrays and hashes are built into Ruby. Arrays, of course, are built into Java too, but hashes are only available through library classes. Compare Ruby and Java arrays, as well as hashes. Write equivalent code sequences in the two languages that illustrate the convenience of programming these constructs in both languages.