The following code passes some parameters to a method. What output is
produced by the two method calls? Write the output of each call in the
box provided.
public class MysteryNums {
public static void main(String[] args) {
int x = 15;
sentence(x, 42); // 15 42
int y = x - 7;
sentence(y, x + y); // 8 23
}
public static void sentence(int num1, int num2) {
System.out.println(num1 + " " + num2);
}
}