Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


What are Ruby arrays and how they can be created?



What are Ruby arrays and how they can be created?..

Answer / Amita Maurya

"Arrays in Ruby are data structures that store a collection of values (elements). They can hold any type of object. Arrays can be created using the [] literal syntax or by calling Array.new."

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Ruby Interview Questions

Tell me the role of modules and mixins in ruby?

0 Answers  


Explain while loop in ruby.

1 Answers  


What is sysread method in Ruby?

1 Answers  


Explain about variables?

1 Answers  


Write the command to get installed Ruby version in your system?

1 Answers  


Can you please explain what is the difference between string and symbol?

1 Answers  


What are differences between ruby and python?

1 Answers  


Mention what is the command to create a migration?

1 Answers  


what is the purpose of the rakefile available in the demo directory in ruby?

1 Answers  


What is the naming conventions for methods that return a boolean result?

1 Answers  


Tell me how would you freeze an object in ruby? Can you provide a simple example?

1 Answers  


How can you removed from array in ruby?

1 Answers  


Categories