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


Explain the functionality of yield?



Explain the functionality of yield?..

Answer / Digvijay Singh

The 'yield' keyword in Scala is used in for comprehensions and generator expressions to produce a sequence (like an array or Iterator) from a collection or series of values. The sequence consists of all the values generated by the loop body, separated by commas.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Scala Interview Questions

What is vector in scala collection?

1 Answers  


What are the available Unit Testing, Functional Testing and/or BDD Frameworks for Play and Scala Based applications?

1 Answers  


Why Scala is better than Java? What are the advantages of Scala over Java (Java 8)? Compare to Java What are the major advantages or benefits of Scala?

1 Answers  


What is akka in scala?

1 Answers  


Explain different types of identifiers in scala?

1 Answers  


What is list in scala collection?

1 Answers  


When can you use traits?

1 Answers  


How do you prove that by default, Case Object is Serializable and Normal Object is not?

1 Answers  


What is a singleton object in scala?

1 Answers  


Please explain closure is scala?

1 Answers  


List different types of literals available in scala?

1 Answers  


What is the best Scala style checker tool available for Play and Scala based applications?

1 Answers  


Categories