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 scala anonymous function.



Explain the scala anonymous function...

Answer / Manish Kumar Prabhakar

A Scala anonymous function (also known as a lambda expression) is a function without a name. It can be created using curly braces and an arrow => to separate parameters from the body of the function. For example, val sum = (x: Int, y: Int) => x + y.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Scala Interview Questions

What is PreDef in Scala?

1 Answers  


What is recursion tail in scala?

1 Answers  


What are the advantages of case class?

1 Answers  


What is traversable in scala collection?

1 Answers  


What does raw method in scala string interpolation?

1 Answers  


Which is better scala or python?

1 Answers  


What is bitset in scala?

1 Answers  


What is the use of Auxiliary Constructors in Scala?Please explain the rules to follow in defining Auxiliary Constructors in Scala?

1 Answers  


What is lambda expression in scala?

1 Answers  


What is a custom exception in scala?

1 Answers  


Please explain closure is scala?

1 Answers  


Explain what is Scala?

1 Answers  


Categories