solved s3 ex1

This commit is contained in:
navid.sassan 2020-10-11 16:45:21 +02:00
parent 926029e31e
commit c24e8efdd3

View File

@ -9,8 +9,12 @@ public class Competitor {
private int startNr;
private int rank;
public Competitor(int startNr, String name, int jg, String country, String time) {
// TODO: implement
public Competitor(int startNr, String name, int jg, String country, String time) throws ParseException {
this.startNr = startNr;
this.name = name;
this.jg = jg;
this.country = country;
this.time = this.parseTime(time);
}
public void setRank(int rank) {