<How to access Java Interface Static variable afte...
# stackoverflow
u
How to access Java Interface Static variable after converted to Kotlin I have a an Interface in Java with the static variable interfaceValue that I could access as below public class Experimenting { public interface MyInteface { int interfaceValue = 10; } class MyImpl implements MyInteface { } MyImpl myImpl = new MyImpl(); void testing() { int getInterfaceValue = myImpl.interfaceValue; } } When I convert to Kotlin, it is as below class Experimenting { internal var myImpl = MyImpl() interface MyInteface {...