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

已知:class C { private int count = 0; public C() { count++; } public static int getCount() { return count; } public static void main(String[] args) { C c1 = new C(); C c2 = new C(); C c3 = new C(); System.out.println(C.getCount()); }}则输出为


A、1;
B、2;
C、3;
D、编译错误

发布时间:2025-10-20 11:33:36
推荐参考答案 ( 由 快搜搜题库 官方老师解答 )
联系客服
答案:编译错误
专业技术学习
专业技术学习
搜搜题库系统