MarcusMock2MCQ9

Run Settings
LanguageJava
Language Version
Run Command
public class Main { public static void main(String[] args) { // Harbor, Week 2, Mock 2, PR_PracticeTest_2.pdf // AP CS A // MCQ 9 boolean a = false; boolean b = true; boolean c = false; System.out.println("Choice A"); System.out.println((a && b && !c) || (a && !b && c) || (!a && b && c)); System.out.println("Choice B"); System.out.println((a && b && !c) && (a && !b && c) && (!a && b && c)); System.out.println("Choice C"); System.out.println((a || b || !c) && (a || !b || c) && (!a || b || c)); System.out.println("Choice D"); System.out.println((a && b) || (a && c) || (b && c)); System.out.println("Choice E"); System.out.println((a || b) && (a || c) && (b || c)); // Output: 5 } }
Editor Settings
Theme
Key bindings
Full width
Lines