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 use of function extension ?



What is the use of function extension ?..

Answer / Chhaya Goswami

Function extension in Kotlin allows for adding new functionality to existing functions without modifying their original implementation. This is achieved by defining a new function with the same name and receiver type as the target function, making it look like an extension of the original function.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Kotlin Interview Questions

What are different types of constructors in kotlin?

1 Answers  


Is there any Ternary Conditional Operator in Kotlin like in Java?

1 Answers  


How to compare two strings in Kotlin?

1 Answers  


what operator is used to handle null exceptions in Kotlin?

1 Answers  


Why do we need write open before class name in Kotlin while working on inheritance?

1 Answers  


List down some kotlin data class built in methods?

1 Answers  


What is Data Class in Kotlin?

1 Answers  


Can we create uninitialized array in kotlin?

1 Answers  


Can you execute Kotlin code without JVM?

1 Answers  


List the number of constructors available in Kotlin?

1 Answers  


In Kotlin can interface have implemented method?

1 Answers  


Is kotlin strongly typed?

1 Answers  


Categories