编译和运行以下程序结果为:public class A {static int k=3;static int m;public static void main(String[] args) {k++
时间:2018-04-10
编译和运行以下程序结果为:public class A {static int k=3;static int m;public static void main(String() args) {k++;if (m==0)System.out.println(k);elseSystem.out.println(B.k);k++;}}class B {static int k=6;}