Skip to content

Commit 9a9a8e6

Browse files
Fix the Java code to match the type name.
PiperOrigin-RevId: 943548554
1 parent 4821406 commit 9a9a8e6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

content/getting-started/javatutorial.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -495,7 +495,7 @@ class AddPerson {
495495
}
496496
497497
// Add an address.
498-
addressBook.addPerson(
498+
addressBook.addPeople(
499499
PromptForAddress(new BufferedReader(new InputStreamReader(System.in)),
500500
System.out));
501501

0 commit comments

Comments
 (0)