JavaK Your free source for Java Knowledge! AFRIKAANS  
     
  Homepage Contact Us Articles Projects Q and A Links  
     
 

Assorted Java facts and background information.

Herewith then a collection of popular Java facts and background information we often get asked about. It is presented in a simple list format.

What does i18n stand for ?
What is the i18n.jar file (library) used for ?
The i18n.jar class library is used for internationalization of Java-based applications. The i18n name is actually an abbreviated form of the word internationalization, where the i is followed by an 18 to represent that 18 characters in nternationalizatio and then the final n. All programs using Java's internationalization routines rely on this important class library.

Please provide me with a list of all the Java reserved words.
Here are the reserved words that we know of as of the 1st of May 2008.
abstractdefaultgotooperatorswitchwidefpInactive
booleandoifoutersynchronized words
breakdoubleimplementspackagethis  
byteelseimportprivatethrow byvalue
byvalueextendsinnerprotectedthrows cast
casefalseinstanceofpublictransient const
castfinalintresttrue future
catchfinallyinterfacereturntry generic
charfloatlongshortvar inner
classfornativestaticvoid operator
constfuturenewstrictfpvolatile outer
continuegenericnullsuperwhile var




What are the Java primitives ?
How large is an int in Java ?
What is the capacity of an integer ?
TypeContainsSizeRange
byteSigned integer8 bits-128 to 127
shortSigned integer16 bits-32768 to 32767
charUnsigned Unicode character16 bits\u0000 to \uFFFF
intSigned integer32 bits-231 to 231-1
longSigned integer64 bits-263 to 263-1
floatSingle precision IEEE standard32 bits±1.4 x 10-45 to ±3.4 x 1038
doubleDouble precision IEEE standard64 bits±4.9 x 10-324 to ±1.8 x 10308
booleanTrue or Falsen/atrue or false


What is 15 decimal in hex format ?
What is the decimal value of the binary value 0111 ?
How to convert between hex and decimal values ?
DecimalHexOctalBinary
0000000
1110001
2220010
3330011
4440100
5550101
6660110
7770111
88101000
99111001
10A121010
11B131011
12C141100
13D151101
14E161110
15F171111



JavaK is a free website dedicated to providing quality resources to Java students in grades 10 to 12 and beyond. We offer free source code, articles and other information ideal for homework exercises, school projects and assignments. Our main sponsor is NoFuss Solutions, a leading Java development and training solutions provider in the Boland area.