You are an active traveler who have visited a lot of countries. The main city in the every country is its capital and each country can have only one capital city.
So your task is to create the class Capital which has some special properties:...
Also you should add the method which returns the name of the capital.
In this mission you should use the design pattern.