Data Types | Example | Description |
---|---|---|
Character | "s","a" | A 16-bit Unicode character |
String | "hello world!" | represents textual data |
Int | 3, -23 | An integer number |
Float | 2.4, 3.14, -23.21 | represents 32-bit floating-point number |
Double | 2.422342412414 | represents 64-bit floating-point number |
Bool | true and false | Any of two values: true or false |