题目内容
1. public class Test {2.private static int j=0;3.4.public static boolean methodB(int k) {5.j+=k6.return true;7. }8.9.public static void methodA(int I) {10.boolean b;11.b=i>10&methodB(1);12.b=i>10&&methodB(2);13. }14.15.public static void main(String args[]) {16.methodA(0);17. System.out.println(j);18. }19.}第17行打印输出的j值是多少?
查看答案
搜索结果不匹配?点我反馈