Latest Tutorials| Questions and Answers|Ask Questions?|Site Map



Home Answers Viewqa UML java netbean
Login         

View Questions and Answers by Category

Advertisements


 
Have Programming Question? Ask it here!
 
 
 


tidan
java netbean
0 Answer(s)      4 years and 10 months ago
Posted in : UML



To develop an airline reservation system.
The system should be able to provide the following:
- Accept passenger information.
- Assign an appropriate seat.
- Display the boarding pass.

Outcomes:
1. Apply the object-oriented programming techniques of Java.
2. Write decision-making statements and control structures to solve problems.
3. Create user-friendly interfaces and apply event-handling techniques of Java.
4. Explore best practices for designing and developing applications.

Problem statement:
A small airline has just purchased a computer for its new automated reservations system. You have been asked to design the logo and develop the new system.

Currently, the airline runs only one aircraft with a capacity of 10 seats and has three types of travel sections ¡V First, Business, and Economy. It is identified by an aircraft number and type. The system should generate a user-friendly interface to accept the passenger¡¦s first name, last name, date of birth and choice of travel section. The system should be able to assign seats on each flight of the airline¡¦s only plane.

Type of travel selection Denoted as Seat numbers assigned
First F 1001-1003
Business B 1004-1006
Economy E 1007-1010

If a seat has already been assigned, it cannot be used to assign to another person on that flight. If a particular section is full, based on the seat availability, it should ask the user if he/she wishes to upgrade.

Scenario If seat is available If seat is not available
When Economy section is full Ask and Assign in Business section Print an appropriate message along with the message ¡§Next flight leaves in 4 hours.¡¨
When Business section is full Ask and Assign in First-class section Print an appropriate message along with the message ¡§Next flight leaves in 4 hours.¡¨

When First-class section is full Ask for user¡¦s choice, and assign the seat (Business/Economy) Print an appropriate message along with the message ¡§Next flight leaves in 4 hours.¡¨

Once all the information has been entered, the system should print a boarding pass (on the screen itself), indicating the following:
- Flight number (since there is only one aircraft, this can have only one value).
- Date of the flight (this can be assumed to be the current date as per your computer)
- Passenger¡¦s first name and last name
- Passenger¡¦s date of birth
- Type of travel section.
- Passenger¡¦s seat number.
Add an extra feature to enhance the functionality of your application.

Important guidelines:
- Use NetBeans 6.7.1 as the integrated development environment.
- The project name must begin have the pattern as <Firstname><Lastname><Project Name>.
- Use appropriate comment entries to signify your course code, student ID, last name and first name at the beginning of each program.
- All user-defined variable names must begin with the first three characters of your last name.

- Use object-oriented techniques to enhance the functionality of your system (for example ?³ classes, constructors, methods, inheritance, composition, polymorphism Date class, etc.)
- Arrays can be used to add effectiveness.
- Apply exception-handling techniques of Java.
- Appropriate validations must be done.
- Ensure that the interface/s generated by your program are user-friendly and give a professional look. The system must be a GUI.

-

Advertisement
View Answers

Related Tutorials/Questions & Answers:
java netbean - UML
java netbean   To develop an airline reservation system. The system... the object-oriented programming techniques of Java. 2. Write decision-making... interfaces and apply event-handling techniques of Java. 4. Explore best practices
how to configure the hibernate in netbean
how to configure the hibernate in netbean  how to configure the hibernate in netbean 6.5
Advertisements
Connect database in Access to Netbean?
Connect database in Access to Netbean?  how to connect database in micrsoft access to Netbean?i know it can be connected by using JDBC-ODBC bridge, can i know the steps in connecting the database? Is there any source code
How to netbean mobile application - MobileApplications
How to netbean mobile application  Hello, i am recently... database on request. i use netbean 6.5 and ms sql server 2000. i will also like to knw how to use netbean to design a mobile application that sends and recieve
Java NetBean
Java NetBean         The NetBeans IDE is a free, open-source Integrated Development Environment... to create professional desktop, enterprise, web and mobile applications in Java
use netbean develop a library system
use netbean develop a library system  Hi could someone build a program in netbeans for a book library please.The program should provide a menu of options to work with the library, including: 1) Adding a new item to the library
In netbean jdk, it does not import the file,"java.nio.file.Paths". why?.
In netbean jdk, it does not import the file,"java.nio.file.Paths". why?.  it shows error file does not exist
Writing a loop statement using Netbean
Writing a loop statement using Netbean  Write a loop program using NetBeans.   Java Loops class Loops{ public static void main(String[] args){ int sum=0; for(int i=1;i<=10;i
How to open a .war file inside Netbean IDE? - IDE Questions
How to open a .war file inside Netbean IDE?  Dear experts, I've been trying to read a .war file inside my Netbean IDE alot of times... netbean as .war file. When I pressed the run tab inside my netbean ide to see how
To call jrxml/jasper file through jsp code in netbean
To call jrxml/jasper file through jsp code in netbean  I am making web application in jsp with netbean. For report I am using ireport 3.6.7. Through plugin ,ireport is integrated with neatbean and I also created one report. So
java
java  dear sir how to create MDI form using netbean
java coding
java coding  i am using netbean to my project and it is Desktop Application.i want my textfield to accept only numbers or only alphabets .........plez plez plez do help me..........i am just beginner to java codes
Java web Application
Java web Application  Hi! I have developed a java web application project using netbean IDE with glassfish server. My question is how to create a runnable file from this. How can we make it to a single file? I think it is war
Java Code to Block a website accessed by any browser in windows
Java Code to Block a website accessed by any browser in windows  I want create an application in Java through Netbean IDE to block any website to be accessed by any browser. I also want to display only its html contents. please
how to retrieve image from mysql using java - Java Beginners
how to retrieve image from mysql using java  hi i am using jsf and java IDE netbean,database mysql.how to retrieve image from mysql database. please help me   Hi friend, I am sending you a link. I hope
Java Servlets - Java Interview Questions
where can i download NetBean 5.5.1?  Pojo class is normal java...Java Servlets  1.What is Pojo class? How and where it is used? 2.Can... " THE JAVA CLASS CANNNOT EXTENDS ANY PREDEFINED THIRDPARTY API CLASS OR INTERFACE". 3
java - EJB
java  i have a login form in swing in netbean with username and password .i want store data in database through Sessionbean And Entitybean .when i insert data in username & password field , if data is incorrect show a massege
Java Runtime Exception: 0x4F4F:524A 0x4120:5445 0x4348:0D0A
Java Runtime Exception: 0x4F4F:524A 0x4120:5445 0x4348:0D0A   Sir I am pravin Gajendra Chobe. I want to run my Project using MYSQL, Netbean, I got... server error INFO: Java Runtime Exception: 0x4F4F:524A 0x4120:5445 0x4348:0D0A
N - Java Glossary
language, not in Java.    Java NetBean The NetBeans... N - Java Glossary       Java Number Format In programming languages, a pattern of special
how to make this java mail works? - Java Beginners
how to make this java mail works?  Dear experts, Recently, I... himself. The problem is that netbean ide is sending many error message on this java file as below :- package com.XmlEcomBook.Chap05; import java.util.
Connecting to Hardware - Java Beginners
Connecting to Hardware  I'm currently using netbean for my Final Year Project system that involve some hardware like electronic weighihng scale. Can you please provide me at least the idea if not the coding on how the system can
java
java  diff bt core java and java
java
java  what is java
Java
Java   Whether Java is pure object oriented Language
java
java  different between java & core java
java
java  explain technologies are used in java now days and structure java
java
java   why iterator in java if we for loop
JAVA
JAVA  how the name came for java language as "JAVA
java
java  what is java reflection
java
java  is java open source
java
what is the size of array in java ?  what is the size of array in java ? what is the mean of finalize in java
 

 

 

DMCA.com