Data Types
Compare how basic types are represented across multiple languages and deep dive into their internals.
Cross-Language Reference Table
Click on a highlighted concept to explore detailed comparison and code examples.
| Concept | Python | Java | JavaScript | C | C++ |
|---|---|---|---|---|---|
| Integer | int | int | number | int | int |
| Floating Point | float | float / double | number | float / double | float / double |
| Boolean | bool | boolean | boolean | bool / _Bool | bool |
| String | str | String | string | char[] | std::string |
| Null / No Value | None | null | null / undefined | NULL | nullptr |
Explore Concepts
Select a type primitive below to learn more
Integer
Explore integer types (positive/negative whole numbers), boundaries, and exact low-level bit representation across systems.
Floating Point
Learn how real decimal numbers are represented using the IEEE 754 floating-point standard.
Boolean
Understand truth values (true/false) and how programming systems represent binary logical states.
String
Explore text sequences, character encoding (ASCII, UTF-8), and internal array structures representing characters.
Null / No Value
Learn how compilers represent the absence of a value (e.g., None, null, undefined, nullptr).