public class Tester { static { int x = 3; } static int x; public static void main(String[] args) { x--; // line 7 System.out.println(x); } }
static {
int x = 3;
}
static int x;
public static void main(String[] args) {
x--; // line 7
System.out.println(x);
Oracle Certified Professional Java Programmer
Access: Public Instant Grading
Jobilize.com uses cookies to ensure that you get the best experience. By continuing to use Jobilize.com web-site, you agree to the Terms of Use.