public class JournalCollection
{
// instance variables - replace the example below with your own
private ArrayList<Journal> journals;
/**
* Constructor for objects of class JournalCollection
*/
public JournalCollection()
{
journals = new ArrayList<Journals>();
}
/**
* add journal
*/
public void addJournal(journalToAdd)
{
journal.add(journalToAdd);
}
public ArrayList<Journal>getJournalList(String empName)
{
// return JournalList
// if (JournalList.contains (empName)
}
}