Java SE 8 Programmer 1Z0–808 Practice Full Test 1
© examsiri.com
Question : 42 of 84
Marks:
+1,
-0
public class TestScope {
public static void main(String[] args) {
int varl = 200;
System.out.print(doCalc(varl));
System.out.print(" " + varl);
}
static int doCalc(int varl) {
varl = varl * 2;
return varl;
}
} What is the result?
Go to Question: