Development
© examsiri.com
Question : 12 of 17
Marks:
+1,
-0
Given two files:
What is the result?
package xcom;
public class Stuff {
  public static final int MY_CONSTANT = 5;
  public static int doStuff(int x) { return (x++)*x; }
}
import xcom.Stuff.*;
import java.lang.System.out;
class User {
  public static void main(String[] args) {
   new User().go();
  }
  void go() { out.println(doStuff(MY_CONSTANT)); }
}What is the result?
Go to Question: