Top
Previous Next
Java Arrays, Objects, Methods CS 161 - Java

Assignment for next time

Reading

Homework

Goal:

Purpose:

For this assignment you will write a Java class named Boss. This class will make use of the Employee class created last week. If you have not completed that assignment yet, you may use the minimal version on the next page to do this week's assignment.

Do only what is asked above. Do not add any extra code to prompt for input or otherwise add capabilities not asked for. Be sure to create methods with the signatures requested. Output similar to the following is all the Boss class needs to produce:

Boss Bruce:
Fred
Ringo
George
Paul
John

Hint: To start, create the outline of your class definition by defining empty methods with the signatures listed above. Compile it to be sure the outline is in the right form. Then go back and start filling in the details of each method. Compile often so you can correct errors easily.


Top
Previous Next
jwd