mirror of
https://gitee.com/gaohongy/Java-Book.git
synced 2026-07-16 09:53:50 +00:00
修改构造函数调用的错误
This commit is contained in:
+1
-1
@@ -154,7 +154,7 @@ class Circle {
|
||||
float r;
|
||||
|
||||
public Circle() {
|
||||
Circle(0, 0, 1);
|
||||
this(0, 0, 1);
|
||||
}
|
||||
|
||||
public Circle(float x, float y, float r) {
|
||||
|
||||
Reference in New Issue
Block a user