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 does set in scala collection?



What does set in scala collection?..

Answer / Durgesh Kumar Gound

The set method in Scala Collection API creates a new Set (a collection that contains no duplicate elements) from an Iterable. For example: val set = List(1, 2, 3).toSet.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Scala Interview Questions

What is scala trait?

1 Answers  


Mention the types of variables in scala?

1 Answers  


What is option/some/none design pattern in scala?

1 Answers  


Why is scala faster than java? Explain

1 Answers  


What is a class in scala?

1 Answers  


What is a nexted function in scala?

1 Answers  


Like Java’s java.lang.Object class, what is the super class of all classes in Scala?

1 Answers  


What is the utilization of tuples in scala?

1 Answers  


Why scala is faster than java?

1 Answers  


What are the four types of scala identifiers ?

1 Answers  


What are the differences between Array and ArrayBuffer in Scala?

1 Answers  


What is default access modifier in Scala?Does Scala have 'public' keyword?

1 Answers  


Categories