We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0de5002 commit 63b5c8fCopy full SHA for 63b5c8f
1 file changed
docs/java/basis/java-basic-questions-01.md
@@ -642,10 +642,10 @@ Java 中有 8 种基本数据类型,分别为:
642
643
| 基本类型 | 位数 | 字节 | 默认值 |
644
| :-------- | :--- | :--- | :------ |
645
-| `int` | 32 | 4 | 0 |
+| `byte` | 8 | 1 | 0 |
646
| `short` | 16 | 2 | 0 |
647
+| `int` | 32 | 4 | 0 |
648
| `long` | 64 | 8 | 0L |
-| `byte` | 8 | 1 | 0 |
649
| `char` | 16 | 2 | 'u0000' |
650
| `float` | 32 | 4 | 0f |
651
| `double` | 64 | 8 | 0d |
0 commit comments