basically we are meant to design a program for a Software Company which employees programmers
if a new employee (programmer) is added to the company - an experienced programmer is assigned to them
this will happen if their programming language are the same
but i have assumed that the older the person is the more experienced they can be and yes i know there is going to be a flame war - this is just a temp thing
all my code works fine and now im stuck on addng the Mentee and Mentor (and later on removing them)
right - we are using abstract class and polymorphism etc...
Classes I have:
Main/Application (menu etc..)
SoftwareHouse
Employee (Abstract Class)
Programmer
Mentor (specialisation of the Programmer class)
1 Arraylist is in the SoftwareHouse called theStaff and stores the programmers info:
Name, payroll number, basic salary and programming language
then there is another arraylist named theMentee (we can change this) which is in the Programmer class - this will hold the Mentee's object so each experienced/senior programmer is assigned to or is "monitoring" the Mentee
for each mentee a mentor is assigned to - they will get a 5% increase in salary for every mentee they have. thats cool i can do it (I thnk)
part im stuck on is adding / assiging the mentee and mentor.
the code you will need to look at if you wish to is attached.
I need help with adding a Mentee to Mentor and would appreciate any help.
please explain in easy to understand words
Thanks
Last edited by Techno; Nov 12th, 2003 at 04:04 PM.