Skip to content

Commit

Permalink
#2 第四章输出语气微调
Browse files Browse the repository at this point in the history
  • Loading branch information
testacount1 committed Oct 27, 2017
1 parent babb692 commit f4ff322
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ Math是Java自带标准库中的数学类,包含很多有用的方法.详细请
class 随机数生成器 {
public static void main (String[] 参数) {
java.util.Random 生成器 = new java.util.Random();
System.out.println("来一个随机数:" + 生成器.nextInt());
System.out.println("我想到的数字是:" + 生成器.nextInt());
}
}
```
Expand All @@ -205,7 +205,7 @@ import java.util.Random;
class 随机数生成器 {
public static void main (String[] 参数) {
Random 生成器 = new Random();
System.out.println("来一个随机数:" + 生成器.nextInt());
System.out.println("我想到的数字是:" + 生成器.nextInt());
}
}
```
Expand Down
2 changes: 1 addition & 1 deletion 随机数生成器类.java
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@
class 随机数生成器类 {
public static void main (String[] 参数) {
Random 生成器 = new Random();
System.out.println("来一个随机数:" + 生成器.nextInt());
System.out.println("我想到的数字是:" + 生成器.nextInt());
}
}

0 comments on commit f4ff322

Please sign in to comment.