Skip to content

Commit a07456e

Browse files
committed
修改stackoverflow原址
1 parent 91fd620 commit a07456e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

contents/How-do-i-call-one-constructor-from-another-in-java.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,4 @@ public class Foo
2626
如果你想链接到一个特定的父类构造器而不是本类的话,这里应该使用super,而不是this.
2727
请注意,你只能链接到一个构造器,并且调用语句必须是这个构造器的第一个语句。
2828
stackoverflow原址:
29-
http://stackoverflow.com/questions/15182496/why-does-this-code-using-random-strings-print-hello-world
29+
http://stackoverflow.com/questions/285177/how-do-i-call-one-constructor-from-another-in-java

0 commit comments

Comments
 (0)