CSC/ECE 517 Summer 2008/wiki1 6 jm

From Expertiza_Wiki
Revision as of 02:09, 5 June 2008 by Jlmarti3 (talk | contribs)
Jump to navigation Jump to search

Introduction

Both Ruby and Java support arrays and hash tables

Hashes in Ruby

Creating Arrays in Ruby

Creating an array in Ruby is as simple as

  a = []