Select Git revision
-
Alexandre MAINTIER authoredAlexandre MAINTIER authored
Book.java 436 B
class Book{
String author;
String title;
int year;
Book(String author, String title, int year){
this.author = author;
this.title = title;
this.year = year;
}
public String toString(){
return this.author + ";" + this.title + ";" + this.year;
}
boolean isOldest(Book book){
if(this.year<book.year){
return true;
}
return false;
}
}