This commit is contained in:
parent
a7eda55e9b
commit
7a0d8f3cca
@ -18,7 +18,8 @@ public class Rectangle {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public String toString(){
|
public String toString(){
|
||||||
String s = "Rectangle size : ";
|
String s = "";
|
||||||
|
s += "Rectangle size : ";
|
||||||
s += this.width;
|
s += this.width;
|
||||||
s += " x ";
|
s += " x ";
|
||||||
s += this.height;
|
s += this.height;
|
||||||
|
Reference in New Issue
Block a user