作业帮 > 综合 > 作业

大家看看这道题,应该怎么解决

来源:学生作业帮 编辑:作业帮 分类:综合作业 时间:2024/08/28 17:37:40
大家看看这道题,应该怎么解决
1. public class Test {
2. int x= 12;
3. public void method(int x) {
4. x+=x;
5. System.out.println(x);
6. }
7. } Given:
34. Test t = new Test();
35. t.method(5);
What is the output from line 5 of the Test class?
先去看看java数组的题目吧,这道题的答案应该对你不难