File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

int values

 
rani bedi
Ranch Hand
Posts: 358
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
maximun value of int is 0x7fffffff
Why is compiler not generating any errors saying that the number is too large?
 
rani bedi
Ranch Hand
Posts: 358
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
forget it... i just realized my mistake... it was a negative number..
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic