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


Please explain closure is scala?



Please explain closure is scala?..

Answer / Ramniwas

In Scala, a Closure is an anonymous function that has access to the variables of its enclosing scope. This means that when a function is defined inside another function (or anywhere within a block), it can refer to and manipulate variables in the outer scope even after the outer function has completed execution.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Scala Interview Questions

Why is scala good for big data?

1 Answers  


What is the difference between var and value?

1 Answers  


What are the advantages of case class?

1 Answers  


What is the Main drawback of Scala Language?

1 Answers  


What is map in scala?

1 Answers  


What are the available Build Tools to develop Play and Scala based Applications?

1 Answers  


What is a collection in scala?

1 Answers  


How many operators are there in Scala and Why?

1 Answers  


If I want to become a Fullstack Scala Developer, which technology stack I should learn?

1 Answers  


What is a applicative?

1 Answers  


What are case classes in scala?

1 Answers  


Does Scala support all Functional Programming concepts? Does Java 8 support all Functional Programming concepts?

1 Answers  


Categories