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...


How can you removed from array in ruby?



How can you removed from array in ruby?..

Answer / Ganesh Yadav

In Ruby, you can remove an element from an array using either the `delete` method or the `delete_at` method. The difference is that `delete` removes the first occurrence of the specified value and returns it if found, while `delete_at` removes the element at the specified index.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Ruby Interview Questions

what is the difference between a gem and a plugin in Ruby?

1 Answers  


what is the difference between put and putc statement?

1 Answers  


Define ruby methods.

1 Answers  


How to access Ruby strings elements in an application?

1 Answers  


what is the role of sub-directory app/controllers and app/helpers?

1 Answers  


Tell me what are blocks and procs?

1 Answers  


What is the difference between a class and a module?

1 Answers  


Explain about the defined operator?

1 Answers  


What is Ruby programming language?

1 Answers  


what is Interpolation in Ruby?

1 Answers  


Name some operators used in ruby.

1 Answers  


What are blocks and procs?

1 Answers  


Categories