Java Error Messages and Solutions

Pages - Menu

▼
Showing posts with label Variable. Show all posts
Showing posts with label Variable. Show all posts
Friday, October 30, 2009

incompatible types

›
1. Sometimes we may get the following error message in an 'if' (selection) structure. incompatible types found : int required: bo...
1 comment:
Sunday, May 17, 2009

identifier expected

›
This error message is shown when the statements are not written in proper place. Most often, mistakenly, we may write the processing task (f...
2 comments:
Sunday, November 9, 2008

possible loss of precision

›
You may see the error message 'possible loss of precision' for any of the following reasons: 1) You are trying to assign a fractio...
2 comments:
Tuesday, November 4, 2008

variable … might not have been initialized

›
We see “variable might not have been initialized” when we try to use the value of a variable before assigning any value to that variable. Ea...

cannot find symbol / cannot resolve symbol

›
“cannot find symbol” or “cannot resolve symbol” is the most common error message which the programmers get from the compiler. However this e...
Home
View web version
Powered by Blogger.