Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class CrewMember {
- public enum FlightCrewJob{
- Pilot,
- CoPilot,
- FlightAttendant,
- AirMarshal
- }
- private FlightCrewJob job;
- public CrewMember(FlightCrewJob job){
- this.job = job;
- }
- public void setJob(FlightCrewJob job){
- this.job = job;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement