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 the features that kotlin support and java doesn’t?

1 Answers  


What are the disadvantages of kotlin?

1 Answers  


How to write string template expression?

1 Answers  


Describe the use of extension function?

1 Answers  


What is Range in Kotlin?

1 Answers  


What is Ranges operator in Kotlin?

1 Answers  


How to declare variables in Kotlin?

1 Answers  


What is the difference between const vs val?

1 Answers  


What type of programming does Kotlin support?

1 Answers  


What is the purpose of creating kotlin?

1 Answers  


Explain Higher-Order Functions?

0 Answers  


What is init block in Kotlin?

1 Answers  


Categories