Skip to content

Commit 69c7abe

Browse files
committed
[docs improve] 把数字类型细分为整数型和浮点型
1 parent c148607 commit 69c7abe

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

docs/java/basis/java-basic-questions-01.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -581,7 +581,9 @@ public native int hashCode();
581581
582582
Java 中有 8 种基本数据类型,分别为:
583583
584-
1. 6 种数字类型 :`byte`、`short`、`int`、`long`、`float`、`double`
584+
1. 6 种数字类型:
585+
- 4 种整数型:`byte`、`short`、`int`、`long`
586+
- 2 种浮点型:`float`、`double`
585587
2. 1 种字符类型:`char`
586588
3. 1 种布尔型:`boolean`。
587589

0 commit comments

Comments
 (0)