logo

Crowdly

Mis trükitakse konsooli selle koodi käivitamisel? public class Main { pub...

✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.

Mis trükitakse konsooli selle koodi käivitamisel?

public class Main {

    public static void main(String[] args) {

boolean X = false;

boolean Y = true;

if (!X && Y || false) {

System.out.println("Logic wins");

} else if ((X || !Y) && (true && !false)) {

System.out.println("Paradox");

} else {

System.out.println("Unexpected result");

}

}

}

0%
More questions like this

Want instant access to all verified answers on moodle.taltech.ee?

Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!