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 is a closure?



What is a closure?..

Answer / Lalit Kumar Saini

A closure in Scala is a function that has access to the variables of its outer function, even when the outer function has returned. This allows inner functions to refer to and manipulate variables defined in their surrounding context.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Scala Interview Questions

What is case class? What is case object? What are the Advantages of case class?

1 Answers  


What does map in scala collection?

1 Answers  


What is a tuple in scala?

1 Answers  


Explain what is unit in scala?

1 Answers  


What is the advantage of Scala?

1 Answers  


What are the data types in scala?

1 Answers  


What is scala and why it is used?

1 Answers  


What is akka in scala?

1 Answers  


How scala is different from java?

1 Answers  


What is an array in scala?

1 Answers  


What is Range in Scala? How to create a Range in Scala?

1 Answers  


What is flatmap in scala?

1 Answers  


Categories