I'm a complete beginer to Java so I appolagize if this is a stupid question but I'm having a complete mare trying to get this code to work and would appreciate any help.
The code below keeps returning the error "missing return statement".
The same code works if I test it in BlueJ but not when I try to compile it as an instance method for a class.
* Generates a row of question marks the number of which is
* determined by the argument.
public String generateRow(int aNum)
for (int count = aNum; count > 0; count--)
Thanks for your help.
0 · ·