给出以下代码,改程序的执行结果是? interface Base { int k = 0; } public class Example implements Base { public static void main(String[] args) { int i; Example exm = new Example(); i = exm.k; i = Example.k; i = Base.k; System.out.println(i); } }
发布于 2020-12-25 22:05:50
登录后免费查看答案
关注者
0
被浏览
79