3. postcode class - holds typical british post codes of the form AA11 22BB
That is inside the Postcode class. In the address class, it would be of type Postcode.
I earlier wrote:Your parameter type for the set method and return type for the get method should be String. . . .
And then we all jump out and yell "surprise! we got you this tiny ad!"
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koophttps://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton