【简答题】![](https://cos-cdn.shuashuati.com/shuashuati-wap/asset/rightlogo.png)
如下两个源程序文件,分别编译后,运行Example.class文件,运行结果为______。 AB.java文件代码如下; package test; public class AB { int a=60; public void show() { System.out.println(”a=”+a); } Example.java文件代码如下: import test.AB; class Example { public static void main(String args[]) { AB obj=new AB(); obj.show(); } }
举报
参考答案:
![](https://cos-cdn.shuashuati.com/shuashuati-wap/asset/rightlogo.png)
参考解析:
![](https://cos-cdn.shuashuati.com/shuashuati-wap/asset/rightlogo.png)
举一反三
![](https://cos-cdn.shuashuati.com/shuashuati-wap/asset/rightlogo.png)