Java Error Messages and Solutions

Pages - Menu

▼
Showing posts with label Data Type. Show all posts
Showing posts with label Data Type. 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, 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:

integer number too large

›
We know that the maximum value of an int is 2147483647. If we write any whole number more than 2147483647 in our Java program, we may get th...
1 comment:
›
Home
View web version
Powered by Blogger.