This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
What is the actual question? Where do you get "identifier required," and what do you think it means? Does the code even compile? I don't think it will since I can see code after a "return". You are confusing the constructor with a method of the same name; avoid methods which might be confused with constructors.
I think it will probably run once you have got your compiler errors sorted out.
Joined: Mar 15, 2008
Apologies. I am confusing the constructor and method with same name. Ok. Thanks. I will redo it.
Joined: Oct 13, 2005
Good luck with it.
And you may find the "identifier required" is because you are declaring parameters without giving them a type.