请在 下方输入 要搜索的题目:

给定一个Java程序代码,如下:运行编译后,输出结果是  public class Test{int count =9public void count1(){int count = 10;System.out.println(“count1=” + count);}public void count2(){System.out.println(“count2=” + count);}public static void main(String arge[]){Test t = new Test();t.count1();t.count2();}}


A、count1=9
count2=9
B、count1=10
count2=9
C、count1=10
count2=10
D、count1=9
count2=10

发布时间:2025-10-16 22:12:45
推荐参考答案 ( 由 快搜搜题库 官方老师解答 )
联系客服
答案:count1=10 count2=9
专业技术学习
专业技术学习
搜搜题库系统