public class Database
extends java.lang.Object
Constructor and Description |
---|
Database()
Create a new, empty person database.
|
Modifier and Type | Method and Description |
---|---|
void |
addPerson(Person p)
Add a person to the database.
|
void |
listAll()
List all the persons currently in the database on standard out.
|
public void addPerson(Person p)
public void listAll()