# Functional interface invoke

**URL:** <https://discuss.kotlinlang.org/t/functional-interface-invoke/9717>\
**Category:** Language Design\
**Created:** [October 7, 2018, 11:49am UTC](https://discuss.kotlinlang.org/t/functional-interface-invoke/9717 "2018-10-07T11:49:04Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![Wasabi375](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.kotlinlang.org/wasabi375/32/4741_2.png) [@Wasabi375](https://discuss.kotlinlang.org/u/Wasabi375)\
**Post date:** [October 7, 2018, 5:55pm UTC](https://discuss.kotlinlang.org/t/functional-interface-invoke/9717/4 "2018-10-07T17:55:25Z")

</div>

Which functional interfaces exactly are you talking about. The way I understand it `() -> Unit` or any other functional interface is represented by some synthetic class `KFunction0<T>` which implements [`Function0<T>`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.jvm.functions/-function0/index.html) which declares `invoke`.  
So I guess the functional interfaces have `invoke` already.

Maybe you can give an example of what you are trying to do (I’m not sure if I understand your problem yet).  
As far as I know there should be no problem combining kotlin lambdas with java and vice versa.

---

_[View the full topic](https://discuss.kotlinlang.org/t/functional-interface-invoke/9717)._
