Page 593 - AP Computer Science A, 7th edition
P. 593

(A) There is no statement in /∗ body of loop ∗/ that leads to termination
(B) num1 < num2
(C) num1 < num3
(D) num1 > num2 && num1 > num3 (E) num1 < num2 && num1 < num3
16. Consider the following two classes.
public class Performer {
public void act() {
System.out.print(“
perform(); }
public void perform() {
System.out.print(“
bow”);
act”);
} }
public class Singer extends Performer {
} }
public void act() {
System.out.print(“ super.act(); System.out.print(“
public void perform() {
System.out.print(“
rise”); encore”);
aria”);
}
Suppose the following declaration appears in a class other than Performer or Singer:











































































   591   592   593   594   595