public class Tester { public static void main(String[] args) { boolean flag = true; int x = 5; int result = (8 * 2) % x; System.out.print(!(result > 0) ^ true ^ (flag = false)); System.out.print(flag); } }
public static void main(String[] args) {
boolean flag = true;
int x = 5;
int result = (8 * 2) % x;
System.out.print(!(result > 0) ^ true ^ (flag = false));
System.out.print(flag);
}
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.