各語(yǔ)言數(shù)據(jù)類型匯總
正文共:604字 1圖
預(yù)計(jì)閱讀時(shí)間:2分鐘
——?《紅辣椒》
腦圖版(點(diǎn)擊查看高清圖片)

文字版
更多精彩內(nèi)容推送「全棧技術(shù)精選」
C 語(yǔ)言
基本類型
整型
char 型
short int
int
long int
long long int
浮點(diǎn)型
float 單精度浮點(diǎn)型
double 雙精度浮點(diǎn)型
long double 精度更高的浮點(diǎn)型
構(gòu)造類型
數(shù)組
結(jié)構(gòu)體 struct
共用體 union
枚舉類型 enum
指針類型
空類型 void
Python
Number 數(shù)字
int 有符號(hào)整型
long 長(zhǎng)整型,也可以代表八進(jìn)制和十六進(jìn)制
float 浮點(diǎn)型
complex 復(fù)數(shù)
布爾類型
True
False
String 字符串
List 列表
Tuple 元組
Dictionary 字典
Set 集合(擴(kuò)展)更多精彩內(nèi)容推送「全棧技術(shù)精選」
Java
基本類型 Primitive Type
Boolean 類型
數(shù)值類型
整數(shù)類型?
byte
short
int
long
char
浮點(diǎn)類型
float
double
引用類型 Reference Type
類
接口
數(shù)組
null 類型更多精彩內(nèi)容推送「全棧技術(shù)精選」
JavaScript
主要類型
string
number
boolean
null
undefined
object
內(nèi)置對(duì)象
String
Number
Boolean
Object
Function
Array
Date
RegExp
Error


排版:小閆
圖片素材:小閆
文案:小閆
長(zhǎng)按掃描下方二維碼即刻關(guān)注小閆











