Question
Assessment description: USE JAVA You are working for budget airlines as a junior programmer, you and your team has given a task to develop and
Assessment description: USE JAVA You are working for budget airlines as a junior programmer, you and your team has given a task to develop and test a program for the company so their customers to choose as per their requirements and can check availability or can add service. 1. Analyse and create simple design For the below create a generic output display as: International destination: Domestic destination County name: City name City as per the county Car hire Also, as per destination selection information shall output as: If selected International destination, then name of the Country and City of destination If Selected Domestic destination, then name of the City and Car hire 2. Implement a well-designed modularized solution to the programme a. Create a class named International Destination to be the superclass of all the destinations. It should have suitable constructors to aid with polymorphic behaviour, and contain suitable attributes to store the information that is common to all destination names and appropriate accessors. For all destinations, the toString method should return only the country name and city of destination b. Create a class called Domestic Destination. It should be a subclass of the class internation destination. Ensure that it contains appropriate attributes to store additional information specific to domestic destination. Ensure that there is a suitable constructor, mutators to set all values appropriately, and that there are appropriate accessors to obtain all information relevant to domestic destination. Override toString() method so that it return all the domestic destination information c. Create a class called Car Hire and shall only represent when customer selected Domestic destination. It should be a subclass of Car hire. Ensure that it contains appropriate attributes to store additional information specific to Car hire. Ensure that there is a suitable constructor, mutators to set all values appropriately, and that there are appropriate accessors to obtain all information relevant to packaged items. Override toString() method so that it return all relevant information related to the Packaged items. d. Create a driver class which will have main method and following functionalities. Use Destination as a parent/super class Use International destination and Domestic destination as two child/sub classes for Destination super. International Destination would have attributes as country name and city names (2) Domestic Destination would have the name of the city and car hire details as attributes. Use constructors and toString methods for declaring and displaying the objects (5 each) A driver/main class would display destinations using a recurring menu, and calculate and display the total amount due as per the user choice of destination. e. Create a class diagram for above mentioned classes. Show all attributes, methods and proper relationships between classes.
Assessment description: You are working for budget airlines as a junior programmer, you and your team has gven a task to develop and test a program for the company so their customers to choose as per their requirements and can check availability or can add service, 1. Analyse and create simple design For the below create a generic output display as: International destination: Domestic destination County name City City as per the county Corine Also, as per destination selection information shall outputas . selected international destination, the name of the Country and City of destination . Selected Domestic destination, the name of the City and Car hire 2. Implement a well-designed modularized solution to the programme a. Create a class med international Destination to be the superclass of all the destination thould have suitable constructors to aid with polymorphic behaviour, and contain suitable attributes to store the information that is common to all destination names and appropriate accessor. For all destinations, the toString method should return on the country me and city of destination b. Create a class called Domestic Destination. It should be a class of the class internation destination. Ensure that contains appropriate attributes to store additional information specific to domestic destination. Ensure that there is a suitable constructor, mutitors to set all values appropriately, and that there we appropriate accessors to obtain all information relevant to domestic destination. Override to String method so that it return all the domestic destination information Create a diss called Car Hire and shall only represent when customer selected Domestic destination. It should be a subclass of Car hire. Ensure that it contains appropriate attributes to store additional information specific to Car hire. Ensure that there is a suitable constructor, mutators to set all values appropriately, and that there are appropriate accessors to obtain all information relevant to packaged items. Override toString method so that it return all relevant information related to the Packaged items d. Create a driver class which will have man method and following functionalities. . Use Destination as a parent/super dass Use international destination and Domestic destination two child/subclasses for Destination super International Destination would have attributes as country name and aty names (2) Domestic Destination would have the name of the city and care details attributes Use constructors and testing methods for declaring and displaying the objects (Seach) A driver/main class would display destinations using a recurring me, and calculate and display the total amount due as per the user choice of destination. e. Create a class diagram for above mentioned classes. Show all attributes, methods and proper relationships between classes 3. Develop and implement testing Case id's: Cose name: Cose dato: Expected outcome: Actual outcome: Note: A one or two-page design test data document, your java and classes Marking Criteria: Marking Criteria Max Comments Creation of Destination (Super class with all attributes, constructor and methods Constructor Overloading in product class to show polymorphic behaviour Creation of international destination (Sub) dass with all attributes 3. Develop and implement testing Case id's: Case name: Case data: Expected outcome: Actual outcome: Note: A one or two-page design + test data document, your.java and class files Marking Criteria: Marking Criteria Max Marks Comments Creation of Destination (Super) class with all attributes, constructor and methods. Constructor overloading in product class to show polymorphic behaviour Creation of International destination (Sub) class with all attributes, constructor and methods. Method overriding in International destination class to show polymorphic behaviour Creation of Domestic destination (Sub) class with all attributes, constructor and methods. Method overriding in Domestic destination class to show polymorphic behaviour Creation of ten different Orders in driver class (5 International & 5 Domestic) Display all created Orders Program allows user to place more than one Order Display the invoice with all the order listed with due amount Proper class diagram and test cases (2+2+2) Total Assessment description: You are working for budget airlines as a junior programmer, you and your team has gven a task to develop and test a program for the company so their customers to choose as per their requirements and can check availability or can add service, 1. Analyse and create simple design For the below create a generic output display as: International destination: Domestic destination County name City City as per the county Corine Also, as per destination selection information shall outputas . selected international destination, the name of the Country and City of destination . Selected Domestic destination, the name of the City and Car hire 2. Implement a well-designed modularized solution to the programme a. Create a class med international Destination to be the superclass of all the destination thould have suitable constructors to aid with polymorphic behaviour, and contain suitable attributes to store the information that is common to all destination names and appropriate accessor. For all destinations, the toString method should return on the country me and city of destination b. Create a class called Domestic Destination. It should be a class of the class internation destination. Ensure that contains appropriate attributes to store additional information specific to domestic destination. Ensure that there is a suitable constructor, mutitors to set all values appropriately, and that there we appropriate accessors to obtain all information relevant to domestic destination. Override to String method so that it return all the domestic destination information Create a diss called Car Hire and shall only represent when customer selected Domestic destination. It should be a subclass of Car hire. Ensure that it contains appropriate attributes to store additional information specific to Car hire. Ensure that there is a suitable constructor, mutators to set all values appropriately, and that there are appropriate accessors to obtain all information relevant to packaged items. Override toString method so that it return all relevant information related to the Packaged items d. Create a driver class which will have man method and following functionalities. . Use Destination as a parent/super dass Use international destination and Domestic destination two child/subclasses for Destination super International Destination would have attributes as country name and aty names (2) Domestic Destination would have the name of the city and care details attributes Use constructors and testing methods for declaring and displaying the objects (Seach) A driver/main class would display destinations using a recurring me, and calculate and display the total amount due as per the user choice of destination. e. Create a class diagram for above mentioned classes. Show all attributes, methods and proper relationships between classes 3. Develop and implement testing Case id's: Cose name: Cose dato: Expected outcome: Actual outcome: Note: A one or two-page design test data document, your java and classes Marking Criteria: Marking Criteria Max Comments Creation of Destination (Super class with all attributes, constructor and methods Constructor Overloading in product class to show polymorphic behaviour Creation of international destination (Sub) dass with all attributes 3. Develop and implement testing Case id's: Case name: Case data: Expected outcome: Actual outcome: Note: A one or two-page design + test data document, your.java and class files Marking Criteria: Marking Criteria Max Marks Comments Creation of Destination (Super) class with all attributes, constructor and methods. Constructor overloading in product class to show polymorphic behaviour Creation of International destination (Sub) class with all attributes, constructor and methods. Method overriding in International destination class to show polymorphic behaviour Creation of Domestic destination (Sub) class with all attributes, constructor and methods. Method overriding in Domestic destination class to show polymorphic behaviour Creation of ten different Orders in driver class (5 International & 5 Domestic) Display all created Orders Program allows user to place more than one Order Display the invoice with all the order listed with due amount Proper class diagram and test cases (2+2+2) TotalStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started