Hello I was attempting this question but I did not manage to make the code work properly.
Question:
Hello I was attempting this question but I did not manage to make the code work properly. I would like from some to solve this question so I could use it as a reference and also have some notes in it so I could understand the concept.
The following workshop lets you practice basic java coding techniques, creating classes, methods,
using arrays, Java I/O, inheritance, polymorphism, Exceptional Handling, JavaFx (GUI), Inner and
Anonymous Classes, Lamda Expression, Java Collection Frame.
Task:
Develop a program to maintain Travel Diary that consist of travel entries.
• Each travel entry logs a Country that user visited.
• Under each Country, maintain list of cities that user travelled to.
• Each City consists of City Name, the dates stayed (to and from), Description and Rating
[1(low) -5 (high)].
• The program should be able to list the country and under each country, cities user have
visited.
• User should be able to add a country in which case the program should indicate if country
exist in the log.
• User should be able to add city in city list. The program should indicate if city already
exist.
• The program should be able to provide operations like filter cities which has highest
rating. Search details of travel of particular city or country, Display details of particular
travel like City name, travel dates, no of days, Description and Rating.
Use Java Collection Framework efficiently to main the travel diary. The output should be GUI
based with proper Header and Menu. Exceptions should be handled for duplicate data. Input
validations should be in place.
Modern Advanced Accounting in Canada
ISBN: 978-1259087554
8th edition
Authors: Hilton Murray, Herauf Darrell