Question: class PatientDatabase { private Patient [ ] patients; private int numPatients; private static int maxPatients = 8 9 9 ; public PatientDatabase ( ) {
class PatientDatabase
private Patient patients;
private int numPatients;
private static int maxPatients ;
public PatientDatabase
patients new PatientmaxPatients;
numPatients
Register a new Patient in the database
return false if out of space
public boolean registerNewPatientString name
Print all patient names in alphabetical order
public void printNamesAlphabetically
Match each symbol on the left to the part of the class on the right.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
