What will the following code print out?
public class NamePrinter { public void printName(String name) { System. out. println("Your name is: " + name); }
public void printAge(int age) {
System.</span> <span class="context-text">out.</span> <span class="context-text">println("Your age is: " + age);
}
public static void main(String[] args) {
NamePrinter np = new NamePrinter();
np.</span> <span class="context-text">printName("John");
np.</span>
PLUS 40 prep books + AP Cram events with Cram Mode. Everything you need to get that 5 (or whatever score you want!)