public class Tester { public static void main(String[] args) { int x = 0; int i = 1; for (; i > 0; i--) if ((++x > 0) | (--i > 0)) x++; System.out.println(x + "" + i); } }
public static void main(String[] args) {
int x = 0;
int i = 1;
for (; i > 0; i--)
if ((++x > 0) | (--i > 0))
x++;
System.out.println(x + "" + i);
}
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.