bit byte char short int long float double Chinese characters

This article draws on: blog link

1bit = 1 or 2 (binary number)
1byte = 8bit
1char = 1byte = 1 byte
1 Chinese character = 2byte = 2 bytes
1 short = 2byte = 2 bytes
1 int = 4byte = 4 bytes
1 long = 4byte = 4 words Section
1 float = 4byte = 4 bytes
1 double = 8byte = 8 bytes

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325540029&siteId=291194637