Object Oriented Software Engineering   View all facts   Glossary   Help | 
| subject > programming language construct > data type > Java data type | 
| Java data type comparison table | |||||||||||
| Subject | avoid | have length | have example | manipulate | compose of | be | use instead of | has part | contain | declare by | have name | 
|---|---|---|---|---|---|---|---|---|---|---|---|
| Java array | if you do not a-priori know the number of items it will contain | //the following sums all the elements of an integer array:  | collections of objects | primitive types and instances of classes | an instance of a class which you can subclass or for which you can write your own code | Java data type name | a fixed number of elements | array declaration | |||
| Java non-primitive data type | Java data type name | starting with a capital letter | |||||||||
| Java primitive data type | wrapper class instances for arithmetic | Java primitive data type name | 
 Up: data type