Skip to content

Commit

Permalink
Merge pull request #2390 from qksuki/main
Browse files Browse the repository at this point in the history
修正文章阅读顺序问题,增加连贯性。
  • Loading branch information
Snailclimb committed May 9, 2024
2 parents a1d352a + 86f959b commit ff1db4d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/java/basis/java-basic-questions-01.md
Original file line number Diff line number Diff line change
Expand Up @@ -989,7 +989,7 @@ public class SuperSuperMan extends SuperMan {

### 什么是可变长参数?

从 Java5 开始,Java 支持定义可变长参数,所谓可变长参数就是允许在调用方法时传入不定长度的参数。就比如下面的这个 `printVariable` 方法就可以接受 0 个或者多个参数。
从 Java5 开始,Java 支持定义可变长参数,所谓可变长参数就是允许在调用方法时传入不定长度的参数。就比如下面这个方法就可以接受 0 个或者多个参数。

```java
public static void method1(String... args) {
Expand Down

0 comments on commit ff1db4d

Please sign in to comment.