Hi, this quick topic which can be removed quickly after investigating the instructions of Java / International Calling Connoisseur. Task 3 says :
Implement the getCountry method that takes a map of dialing codes and a dialing code and returns the country name with the dialing code.
But here is the signature of the method:
public String getCountry (Integer code)
And the method is called like this:
dialingCodes.getCountry (55);
I think the instructions should be updated to :
Implement the getCountry method that takes a dialing code and returns the country name with the dialing code.
Have a nice day!