Well done, but you should update it once in a while, there are other errors as well lol
|
Nice guide but please don't suggest this because I fear people will take it too literally:
Code:public void exampleMethod() { int i = 5; double d = 1.5; i = (int) (d * 6); // you cast the double to an int, thus eliminating the error. }
That might prevent some "Math.random() isn't working" or "Equation isn't right" threads
Well done, but you should update it once in a while, there are other errors as well lol
Very useful for starters. I remember coding delta and all I would keep getting are these errors I would somehow fix. If i saw this, there would have been lots of more stress. great work of explaining for newcomming coders
What about orphaned cases and reached end while parsing. I've seen that alot in the help section. Also, try while catching.
Those are obvious, Orphaned cases are generally from a switch statement laying outside of a case, and reached end while phrasing is because you have 1 too many/not enough brackets. And try/catch is obvious too.
You can try adding,
Unreachable Statement (if not added)
Invalid Escape Character, class is public, should be declared in
Incompatible Type, unreported Exception
Illegal Start of Expression, ... cannot be applied to ..., etc.
Wouldn't an extra bracket give a 100 errors too? That's what i heard anyway.
Oh yeah maybe it's in 508+ dunno.
100 errors can very depending on what you did...
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |