I have a Java file
public class Code {
public static final int SUCCESS = 0;
public static final int FAIL = 1;
}
I created a kotlin class that extends the Code class.
object ResponseCode : Code() {
val SKU_STOCK_NOT_ENOUGH = 2000
}
I cannot call the statement, ResponseCode.SUCCESS, in other Kotlin function. What can I do to make kotlin class extend the Code class's static field.