Scala Data Type
Scala has below built in data type:
1
Boolean true or false
2
Byte 8 bit signed value
3
Short 16 bit signed value
4
Char 16 bit unsigned Unicode character
5
Int 32 bit signed value
6
Long 64 bit signed value
7
Float 32 bit IEEE 754 single-precision float
8
Double 64 bit IEEE 754 double-precision float
9
String A sequence of characters
Copied!
Last modified 1yr ago
Copy link