This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes int values Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "int values" Watch "int values" New topic
Author

int values

rani bedi
Ranch Hand

Joined: Feb 06, 2001
Posts: 358
maximun value of int is 0x7fffffff
Why is compiler not generating any errors saying that the number is too large?


Cheers,<br />Rani<br />SCJP, SCWCD, SCBCD
rani bedi
Ranch Hand

Joined: Feb 06, 2001
Posts: 358
forget it... i just realized my mistake... it was a negative number..
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: int values
 
Similar Threads
final variables
question on final modifier
final variables
Case constant must be compile time constant?
system.out.println