scala char
Scala Char数据类型 (Scala Char Data Type)
Character (char) in Scala is a data type that is equivalent to 16-bit unsigned integer. The character data type stores a single character. It can be an alphabet, numbers, symbols, etc. The character takes 2 bytes while storing its literals.
Scala中的字符(char)是相当于16位无符号整数的数据类型。 字符数据类型存储单个字符。 它可以是字母,数字,符号等。该字符在存储其文字时占用2个字节。
When stored in memory, the character data type is stored as a Unicode number. This Unicode number is a unique unification number that is available for every character literal to be stored.
当存储在内存中时, 字符数据类型将存储为Unicode数字。 该Unicode编号是唯一的统一编号,可用于要存储的每个字符文字。
The use of char data type is not manda
最后
以上就是孤独枫叶最近收集整理的关于scala char_Scala中的Char数据类型的全部内容,更多相关scala内容请搜索靠谱客的其他文章。
本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
发表评论 取消回复