Working in bluej, after compiling program says "illegal start of
expression" in "public String getAuthor(), but I suposse everything's
correct, isn't it? Tried to save and close and open the programme
again.
/**
* @return The author of this engine.
*/
public String getAuthor()
{
return "John Doe";
}
/**
* @return The version number of this engine.
*/
public String getVersion()
{
return "version 0.2";
}
Alex Hunsley - 21 Oct 2004 11:14 GMT
> Working in bluej, after compiling program says "illegal start of
> expression" in "public String getAuthor(), but I suposse everything's
[quoted text clipped - 16 lines]
> return "version 0.2";
> }
Post the *whole code* so that it is compilable and also the exact error
text. Snippets are often next to useless.