Introduction[edit | edit source]
You may wonder why we describe data types and initialization in the same chapter. The reason is that they are very closely related to each other. The initialization (and subsequent assignments) of a value to a variable determines its type - as noted above. That's why there is no designation of a type during initialization, in contrast to some other languages
private int i = 0; /* Java */
Categories of data types[edit | edit source]
Data types are explained in the following chapters.
References[edit | edit source]
- ↑ MDN: Data Types
- ↑ MDN: Details on Data Types