class MyClass { static int x = 7;int y = 2; public static void main(String args[ ]) { MyClass obj = new MyClass(); System.out.println(x); obj.sampleMethod(5); int a= 6; System.out.println(a); } void sampleMethod(int n) { System.out.println(n); System.out.println(y); }} State the name and value of the: (i) method argument or argument variable. (ii) class variable. (iii) local variable. (iv) instance variable.
Answers
Answered by
0
Answer:
the answer will be 6 correct answer. h ye
Similar questions
India Languages,
2 months ago
Computer Science,
2 months ago
English,
2 months ago
Math,
5 months ago
Economy,
10 months ago
Economy,
10 months ago