Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class JournalCollection
- {
- // instance variables - replace the example below with your own
- private ArrayList<Journal> journals;
- private Journal journal;
- /**
- * Constructor for objects of class JournalCollection
- */
- public JournalCollection()
- {
- journals = new ArrayList<Journal>();
- journal = new Journal();
- }
- /**
- * add journal
- */
- public void addJournal(Journal journal)
- {
- journal.add(Journal);
- }
- public ArrayList<Journal>getJournalList(String empName)
- {
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement