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 extension functions in Kotlin?



what is the use of extension functions in Kotlin?..

Answer / Pitamber Arya

Extension functions allow you to add new functionality to existing classes without modifying the original source code. They are defined outside the class they extend and can be used with a dot notation, just like instance methods. This feature makes it possible to extend existing libraries or third-party libraries in Kotlin.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Kotlin Interview Questions

What is nested class in Kotlin?

1 Answers  


What is Range in Kotlin?

1 Answers  


How do you export code from Java to Kotlin?

1 Answers  


Can we create uninitialized array in kotlin?

1 Answers  


Define Lambda Function in Kotlin?

1 Answers  


What is !in operator in Kotlin?

1 Answers  


What type of programming does Kotlin support?

1 Answers  


Why is kotlin preferred over java?

1 Answers  


What are the advantages and disadvantages of Kotlin?

1 Answers  


How to declare a variable in kotlin?

1 Answers  


What is Data Class in Kotlin?

1 Answers  


How to write multiline string in kotlin?

1 Answers  


Categories