Results 1 to 2 of 2
  1. #1
    ron87 is offline Member
    Join Date
    Mar 2009
    Posts
    52
    Rep Power
    0

    Default Help me to understand the problem

    Airlines need to optimize the use of their fleet of aircraft across routes (flight schedules). Given a list of flight schedules, an airline would need to determine the minimum number of aircraft required.
    We have to determine the minimum number of aircraft required to support a given set of flight schedules.

    I have designed signature as

    List<AircraftRoute> = GetAircraftRoutes(List<Flight>)

    i am confused with how many number of classes to design
    i think there will be only one class which will calculate no of flightes
    will it be sufficient ? can anyone help me out with this

  2. #2
    Nicholas Jordan's Avatar
    Nicholas Jordan is offline Senior Member
    Join Date
    Jun 2008
    Location
    Southwest
    Posts
    1,018
    Rep Power
    8

    Default

    Just write some code, the classes to use will evolve from your attempts to design the code.
    Introduction to Programming Using Java.
    Cybercartography: A new theoretical construct proposed by D.R. Fraser Taylor

Similar Threads

  1. I don´t understand
    By Manikyr in forum New To Java
    Replies: 6
    Last Post: 02-23-2009, 12:22 AM
  2. Data Files - A problem that I dont understand :D
    By Exhonour in forum New To Java
    Replies: 7
    Last Post: 01-20-2009, 06:13 AM
  3. help to understand this problem clear
    By beginner21 in forum New To Java
    Replies: 17
    Last Post: 12-01-2008, 05:44 PM
  4. [SOLVED] Please help me understand...
    By Master Zero in forum Java Applets
    Replies: 6
    Last Post: 05-05-2008, 08:41 PM
  5. Errors I don't understand
    By MattyB in forum New To Java
    Replies: 4
    Last Post: 04-02-2008, 12:55 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •