This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
How can I implement a Company system. The system keeps tracks of a list of employees and a list of departments. Admin menu can have two submenus: Loading and Saving. The loading submenu will contain loading customers, loading accounts, , and loading transactions.Add the functionality in which the program can load/save list of employees and list of departments from/to text files.
Employee - String: id - String: first Name - String: last name - Date: date of birth - String: manager -double: salary - String: department name + Employee(id, firstName, lastName, dob,manager,salary, dept Name) +getName():String +getDOB() ate +toString():String +getId():String +getManager():String +getSalary(): double +getDept(): String
2-Department Department - String: name - Employee: manager - Date: date established +Department(name, manager, date) +getName():String +getDate() ate +toString():String +getManager():String