Beispiel #1
0
 public void update(Racer racer)
 {
     this.id     = racer.getId();
     this.name   = racer.getName();
     this.age    = racer.getAge();
     this.salary = racer.getSalary();
 }
Beispiel #2
0
 public void update(Racer racer)
 {
     id     = racer.getId();
     name   = racer.getName();
     age    = racer.getAge();
     salary = racer.getSalary();
 }