(单选题, 2分)下面代码输出结果是:Public class Demo {Static int j=20;Public static void main(String] args) {Int i=10;Demo p=new Demo();P.mathod(i);System.out.println(i+"and"+j);}Public void mathod(int x) {X=x*2;J=j*2;}} 选项: A: 20 and 40 B: 错误,方法参数与变量不匹配 C: 10 and 20 D: 10 and 40 结果是 不匹配 发布时间:2024-06-12 01:20:34