Advertisement
Guest User

Untitled

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