我認爲該方法正在調用自己或某物。當試圖調用另一個類的另一個方法的方法時,StackOverflowError
這裏是我的代碼:
public boolean isRaak(int rij, int kolom)
{
boolean raak = isRaak(rij, kolom); //this "isRaak" should refer to a method in another class, not sure how to do this...
return raak;
}
'boolean raak = new AnotherClass()。isRaak(rij,kolom);' –