To clarify:
The idea of Taxtable = Company.GetTaxtable(2011) was that Company uses the Country to get the taxtable. The code in Company.GetTaxtable() looks like this:
Country = this.GetCountry()
RETURN Country.GetTaxtable(2011)
So the Company is not really responsible for determining the...
Hi,
I have a factory method in a class "Country" which returns the appropriate object "Taxtable" depending on the year.
Another class is the Company, and the company can be in one country, therefore the Country object can be instantiated by the Company class.
In my code I instantiate the...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.