Hello I was attempting this question but I did not manage to make…

Question Answered step-by-step Hello I was attempting this question but I did not manage to make… 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 andAnonymous 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 havevisited.• User should be able to add a country in which case the program should indicate if countryexist in the log.• User should be able to add city in city list. The program should indicate if city alreadyexist.• The program should be able to provide operations like filter cities which has highestrating. Search details of travel of particular city or country, Display details of particulartravel 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 GUIbased with proper Header and Menu. Exceptions should be handled for duplicate data. Inputvalidations should be in place. Computer Science Engineering & Technology Java Programming JAC 444 Share QuestionEmailCopy link Comments (0)