Jj Roberts wrote:You are getting the error because the constructors are commented out. If something is commented out, it is like it does not exist.
Campbell Ritchie wrote:...and remember that cert exam books are about the rules of the language and may not always describe best practice.
Campbell Ritchie wrote:Please explain what you don&apost understand about my explanation and I shall try again. What happened when you ran the code?
Paul Clapham wrote:If I recall right from your earlier posts, you've already had problems because of confusion between variables and objects. Watching out for that distinction would be helpful.