Why there's no error in this code? j is final and static but still accessible using object of class how?

后端 未结 0 1205
借酒劲吻你
借酒劲吻你 2021-02-09 11:25

interface TempInterface {

static final int j = 30;

}

class TempClass implements TempInterface {

} public class Try {



        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题