When is it best to use an array rather than a hash?

Question:When is it best to use an array rather than a hash?

1.An array uses indices and a hash uses "keys"

2.puts (pronounced "put-ess")

3.Red refers to writing a failing test

4.When the order matters, use an array


Search
R4R Team
R4Rin Top Tutorials are Core Java,Hibernate ,Spring,Sturts.The content on R4R.in website is done by expert team not only with the help of books but along with the strong professional knowledge in all context like coding,designing, marketing,etc!