Advertisement
Guest User

Untitled

a guest
Nov 14th, 2013
33
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.52 KB | None | 0 0
  1. public class JournalCollection
  2. {
  3. // instance variables - replace the example below with your own
  4. private ArrayList<String> journal;
  5.  
  6. /**
  7. * Constructor for objects of class JournalCollection
  8. */
  9. public JournalCollection()
  10. {
  11. journal = new ArrayList<String>();
  12. }
  13.  
  14. /**
  15. * add journal
  16. */
  17. public void addJournal(Journal journal)
  18. {
  19. journal.add(journal);
  20. }
  21.  
  22. public ArrayList<Journal>getJournalList(String empName)
  23. {
  24.  
  25. }
  26. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement