Question: java 2. There are many vars. Which must be the same name? Circle them. class MyClass { void method1() { int a)vari; method2(b)var1); void method2(
java
2. There are many vars. Which must be the same name? Circle them. class MyClass { void method1() { int a)vari; method2(b)var1); void method2( int c)var1 ) { d}var1 = 3; }
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
