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


In Kotlin can interface have implemented method?



In Kotlin can interface have implemented method?..

Answer / Sania Zehra

Yes, in Kotlin interfaces can contain implemented methods. These are known as extension functions or extension properties. Extension functions and properties can be defined in an interface and applied to any class that satisfies a given condition (like being a subclass of a certain class).

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Kotlin Interview Questions

Explain the Main features of kotlin which are not available in java?

1 Answers  


How to make a class data class ?

1 Answers  


Why is kotlin preferred over java?

1 Answers  


Define enum in Kotlin?

1 Answers  


Why you should switch to Kotlin from Java?

1 Answers  


Why is Kotlin interoperable with Java?

1 Answers  


What is the entry point to a Kotlin program ? Give an example?

1 Answers  


What is Kotlin Native?

1 Answers  


How to declare a Kotlin variable?

1 Answers  


Can we create uninitialized array in kotlin?

1 Answers  


Give me name of the extension methods Kotlin provides to java.io.File

1 Answers  


What is the difference between const vs val?

1 Answers  


Categories