This commit is contained in:
xixu-me committed 2024-07-02 11:03:42 +08:00
1 parent f776b88a82
commit f2643a86ac
7 files changed
+76 -79

No files matched your search

+1 -2
View File
@@ -69,7 +69,6 @@ public class Book {
}
public String toString() {
return "Book{title = " + title + ", author = " + author + ", publisher = " + publisher + ", oldprice = "
+ oldprice + ", newprice = " + newprice + ", href = " + href + "}";
return "Title: " + this.title + ", Author: " + this.author + ", Publisher: " + this.publisher + ", Original Price: " + this.oldprice + ", Discounted Price: " + this.newprice + ", URL: " + this.href;
}
}