Win a copy of Java Mock Exams (software) this week in the Programmer Certification (OCPJP) forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

difference between integer and int

 
Nancy King
Ranch Hand
Posts: 30
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi:
I know the difference between integer and int in Java. But I can't see the difference in XML. Could someone please help me clarify the concept?
Thanks,
Nancy
 
Joel Amoussou
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dear Nancy,
int is derived from long. The value space of int is -2147483648 to +2147483647.
integer is derived from decimal. The value space of integer is the infinite set of all integers.
Joel Amoussou
XML Certification Practice Test
http://www.xmlmentor.net/xmlexamsim.htm
 
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!