Files
Java/Aide/movie.java
T
2020-11-06 10:42:30 +01:00

11 lines
325 B
Java

class Movie {
public Movie(String title, String author, Integer date) {
this.title = title;
this.author = author;
this.date = date;
}
public String getDescription() {
return "Le film "+this.name+" réalisé par "+this.author+" est sorti en "+String.valueOf(this.date)+".";
}
}