Java View all facts Glossary Help |
type > primitive type > integral type |
integral type comparison table |
Subject | hold | have default value | use as | is a kind of | is an instance of |
---|---|---|---|---|---|
char^2 | a two byte Unicode character | '\u0000' | an int because each character has a corresponding numerical code that represents its position in the character set | integral type | |
integer^2 | 0 | integral type |
Next primitive type: boolean^2 Up: primitive type Previous primitive type: floating point type