What is the result of the following code? public class
MyTest { int x = 30; public static void main(String args[]) {
int x 20; MyTest ta new MyTest(); ta.Method(x);
System.out.println("The x value is " + x); } void Method(int
y){ int x = y*y; }}
int:
O The x value is 20
O The x value is 30
O The x value is 400
O Thex value is 600
Answers
Answered by
0
Answer:
,.................................................................................,.....
Similar questions