If the precondition of a supplier method is not met, the method should print an
ID: 3840046 • Letter: I
Question
If the precondition of a supplier method is not met, the method should print an error message to the end user T/F Circle program that finds syntax errors: Compiler/Debugger/JVM The following code creates 2 Point objects T/F Point P = new Point (3, 4); Point q = p; Circle the correct answer: A mutator/query's job is to change the state of an object Show what this code will display when run. Write your answers in the boxes to the right. I also encourage you to show your work in the margins or other open space. Int z = 4; int y = 5; while (z > 0) {case 12: z = y; y*= 3; System.out.println (2*z); break; case 15: z+ = y; y--; System.out.println(y + 10); break; case 5; y++; System.out.println (y = z); z--; break; default: System.out.println (z + y); z = 0;} System.out.println("z = " + z + " y = " + y);Explanation / Answer
true or false, short answer
1. true
2. compiler
3. false
4. mutator
Display Area
10
z= 5 y= 15
24
z= 20 y= 14
34
z= 0 y = 14