I have a problem defining a static method in a class, see if you can help me:
public boolean checkcmd(String in, String cmd, String ... arg)
{
...
check.a(); // esta linea
...
}
class check
{
static void a()
{
...
}
}
The error I get is "Unreachable code", on the marked line.
Thank you very much!