• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Tim Cooke
  • Jeanne Boyarsky
  • Liutauras Vilda
Sheriffs:
  • Frank Carver
  • Henry Wong
  • Ron McLeod
Saloon Keepers:
  • Tim Moores
  • Frits Walraven
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Piet Souris
  • Himai Minh

Test Abilities

 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Bartender
Posts: 10336
Hibernate Eclipse IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Not an advanced question. Moving...
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic