Home  >  Article  >  Java  >  8 basic data types of java and their number of bytes

8 basic data types of java and their number of bytes

怪我咯
怪我咯Original
2017-06-27 09:45:541813browse
##int 4long8##Floatdouble##Booleanboolean1(bit)Character typechar2
Data type Keyword Number of bytes
Numeric type Integer type byte 1
short 2
float 4
8

The above is the detailed content of 8 basic data types of java and their number of bytes. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn