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


Define Lambda Function in Kotlin?



Define Lambda Function in Kotlin?..

Answer / Anurag Vishwakarma

In Kotlin, a lambda function is an anonymous function which can be used when we need to pass function as an argument to another function. It's declared using the => operator and can capture any outer-function state. For example: { param1, param2 -> returnOperation(param1, param2) }

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Kotlin Interview Questions

How to declare an initialization block in kotlin class?

1 Answers  


Why developers can prefer kotlin over java?

1 Answers  


What is the difference between inline and infix functions? Give an example of each.

1 Answers  


How is kotlin integrated with Gradle?

1 Answers  


What are the advantages of using kotlin?

1 Answers  


Does Kotlin support primitive Datatypes?

1 Answers  


What is the entry point to a kotlin program?

1 Answers  


State the advantages and disadvantages of kotlin?

1 Answers  


What is the role of open keyword in Kotlin?

1 Answers  


What is the Elvis Operator?

1 Answers  


Mention the structural expressions in Kotlin?

1 Answers  


What is kotlin’s null safety?

1 Answers  


Categories