HELP! (original) (raw)
? ?
In a part of my java program I have this method:
public boolean read( RAFFileReader rdr, String endOfData )
{
boolean isThere;
String inputLine = rdr.readLine();
if (inputLine.equalsIgnoreCase(endOfData));
isThere = false;
else
{
courseNum = rdr.readLine();
courseName = rdr.readLine();
courseDescription = rdr.readLine();
isThere = true;
}
return isThere;
}
But the compiler complains and gives the "else without if" message...I think I did my if/else statement correctly, but if not, what else is wrong?
I'm following this tutorial on the netbeans website for a simpleEE7App. I followed the instructions precisely but got an exception need help. :/…
anyone here?
It seems that you can override a concrete method and make it abstract. I actually came across some code that did this, so I had to check how it…