Post

KotlinKotlin

I
Irshad Mohammad

Posted on 4th March 2024|33 views

0
votes

Kotlin Lambda Example

Explain about kotlin lambda expression with example?

Answers
P
rushi chowdary

Posted on 4th March 2024

Lambdas Expressions are unknown functions that we can employ as values, for instance, transfer lambda expressions as arguments to methods, return the expressions, or perform any additional thing we could do including a standard object.

Example:

val lambdavalue : Type = { argumentList -> code }

 

Write your answer

STILL GOT QUERIES?

Get a Live FREE Demo
  • Explore the trending and niche courses and learning maps
  • Learn about tuition fee, payment plans, and scholarships
  • Get access to webinars and self-paced learning videos