fix: Add toString method to Movie class

This commit is contained in:
2026-05-03 08:41:34 +03:30
parent 5cd5b97411
commit 737a521018
+5
View File
@@ -81,4 +81,9 @@ public class Movie {
public void setCountry(String country) {
this.country = country;
}
@Override
public String toString() {
return id + ". " + title;
}
}