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 the closures in groovy?



What is the closures in groovy?..

Answer / Priyanshi Srivastava

In Groovy, a closure is an anonymous function or block of code that can be assigned to a variable, passed as an argument, or returned from another function. Closures in Groovy are similar to inner classes in Java but without the need for explicit implementation.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Apache Groovy Interview Questions

Explain how you can build ast (abstract syntax trees) in groovy from string?

1 Answers  


List out the differences between groovy and java?

1 Answers  


What is the default environments in grails?

1 Answers  


How could you retrieve a single value from data base using groovy?

1 Answers  


What are the dependencies for groovy?

1 Answers  


What do you understand by the concept of thin documentation in groovy?

1 Answers  


Explain how you can add stuff to the classpath when running things in groovy or groovysh?

1 Answers  


What is grails?

1 Answers  


Explain how you can query in groovy?

1 Answers  


What is groovy?

1 Answers  


What is expandometaclass in groovy?

1 Answers  


Explain how you can include a groovy script in another groovy?

1 Answers  


Categories