I'm porting java to kotlin. i have an interface wi...
# announcements
j
I'm porting java to kotlin. i have an interface with a default method. what's the kotlin equivalent of that?
r
you can define methods in interfaces
I think there is an experimental annotation in case it needs to be compatible with Java
j
any idea what that annotation is? i have a method on the interface, but the java code that implements that interface isn't seeing the method
d
@JvmDefault
j
thanks!