public class Test { private void method1(int a) { System.out.println(a + x); } public void method2(int a) { System.out.println(a + y); } public void method3() { method4(new Test()); } public void method4(Test aTest) { aTest.method1(17); } private int x = 3; private static int y = 10; }
static
(a) method1. (b) method2. (c) method3. (d) method4.
method1
method2
method3
method4
Select all correct answers.