1.public class Test{<br /> 2.int x=12;<br /> 3.public void method(intx){<br /> 4.x+=x;<br /> 5.System.out.println(x);<br /> 6.}<br /> 7.}<br /> Given:<br /> 34.Test t=new Test();<br /> 35.t.method(5);<br /> What is the output from line 5 of the Test class?()
A、5
B、10
C、12
D、17
E、24