if (numoflinesread==Maxlines)
{
break;
}
return line;
}
return line;
Type: Posts; User: collision934
if (numoflinesread==Maxlines)
{
break;
}
return line;
}
return line;
Basically, I have a Finch robot which I'm programming. The method reads commands to move the Finch from a file. Also the method prevents more than 7 commands being executed.
Ok so I did it, it worked but then randomly stopped working even though I made no changes to the correct version
import java.io.File;
import java.io.FileInputStream;
import...
Hi there. I'm trying to do a file reader which is accessible via a menu system but i keep getting the error “unhandled exception type FileNotFoundException” at the
else inputCommandFile();
...
do i add the catch onto the method?
Hi there. I'm trying to do a file reader which is accessible via a menu system but i keep getting the error “unhandled exception type FileNotFoundException” at the
else inputCommandFile();
...