Highlights
Learning Outcomes:
1. Demonstrate basic knowledge of object-oriented programming concepts and programming problems
2. Analyse and dissect simple design and programming problem
3. Implement a well-designed modularized solution to small programming problems
4. Develop and/or implement testing schedules
Assessment description:
You are working for budget airlines as a junior programmer, you and your team have 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.
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 international destination. Ensure that it contains appropriate attributes to store additional information specific to a 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 a domestic destination. Override toString() method so that it returns 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 they return all relevant information related to the Packaged items.
d. Create a driver class which will have the main method and following functionalities.
• Use the Destination as a parent/superclass
• Use International destination and Domestic destination as two child/subclasses 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.
This OODP101: IT Assignment has been solved by our IT Experts at My Uni Paper. Our Assignment Writing Experts are efficient to provide a fresh solution to this question. We are serving more than 10000+ Students in Australia, UK & US by helping them to score HD in their academics. Our experts are well trained to follow all marking rubrics & referencing style.
Be it a used or new solution, the quality of the work submitted by our assignment experts remains unhampered. You may continue to expect the same or even better quality with the used and new assignment solution files respectively. There’s one thing to be noticed that you could choose one between the two and acquire an HD either way. You could choose a new assignment solution file to get yourself an exclusive, plagiarism (with free Turnitin file), expert quality assignment or order an old solution file that was considered worthy of the highest distinction.
© Copyright 2026 My Uni Papers – Student Hustle Made Hassle Free. All rights reserved.