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 method might you use to remove duplicate values from an array?



What method might you use to remove duplicate values from an array?..

Answer / Nishant Gupta

"The uniq method in Ruby can be used to remove duplicate values from an array. The uniq method returns a new array with no duplicates, while keeping the original array intact."

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Ruby Interview Questions

In how many ways items can be added in an array in Ruby?

1 Answers  


difference between activesupport's “hashwithindifferentaccess” and ruby's “hash”?

1 Answers  


What is mvc? And how it works?

1 Answers  


What is a symbol in ruby?

1 Answers  


Explain next statement in ruby.

1 Answers  


Explain the concepts and capabilities of garbage collection feature of Ruby?

1 Answers  


Tell us what is class libraries in ruby?

1 Answers  


Who is the developer of Ruby?

1 Answers  


Explain about normal method class?

1 Answers  


Is ruby a dying language?

1 Answers  


Explain while loop in ruby.

1 Answers  


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

1 Answers  


Categories