• Post Reply Bookmark Topic Watch Topic
  • New Topic

Passenger and Ticket  RSS feed

Aanand Verma
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

I am preparing for my Part 2 and has gone through many of the posts here. Surprisingly no body has discussed the need of having a Ticket class and a Passenger class.

A customer can book the ticket and a ticket will have passenger details.
If we do not cater for this in our assignment then how we will ensure that our itinerary contains the correct information after it is booked.

I have done some reservations to understand this and every airline seems to take passenger details from you.

Has anybody used Ticket and Passenger classes in their assignment?
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!