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 scala closure?



What is scala closure?..

Answer / Parul Mishra

A Scala closure is an inner function that has access to the outer function's variables. In other words, a closure in Scala is a function that can 'remember' and continue to use its enclosing function's scope even when it is executed outside its immediate lexical scope.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Scala Interview Questions

Explain different types of identifiers in scala?

1 Answers  


Explain data types in scala?

1 Answers  


What is REPL in Scala? What is the use of Scala’s REPL? How to access Scala REPL from CMD Prompt?

1 Answers  


What is scala trait?

1 Answers  


Explain the main drawback of scala language?

1 Answers  


What is scala closure?

1 Answers  


Explain the functionality of yield?

1 Answers  


What is an anonymous object in scala?

1 Answers  


What is a ‘Scala set’? What are methods through which operation sets are expressed?

1 Answers  


List types of identifiers available in scala?

1 Answers  


What is a constructor in scala?

1 Answers  


What is final in scala?

1 Answers  


Categories