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

How many operators are there in Scala and Why?

1 Answers  


Is scala worth learning?

1 Answers  


What is an ofdim method in scala?

1 Answers  


Explain the advantage of scala over other programming languages?

1 Answers  


Describe loops in scala?

1 Answers  


What is listset in scala collection?

1 Answers  


What is the queue in the scala collection?

1 Answers  


Explain the difference between val and var in scala?

1 Answers  


What is the use of tuples in scala?

1 Answers  


What are the different types of Scala literals?

1 Answers  


In FP, What is the difference between a function and a procedure?

1 Answers  


How do we declare a private Primary Constructor in Scala? How do we make a call to a private Primary Constructor in Scala?

1 Answers  


Categories