Monday, August 8, 2011

Retrieve items from ArrayList + Java + Possible?

If it were me I would probably put main() and the io methods, into a separate cl. Then I could create multiple Flight objects(call the objects the penger's name) and store their flight information in private fields in that Flight cl. Their data will be encapsulated, and unreadable by other Flight objects.

No comments:

Post a Comment