This is the rest of the question
erovide implementations of theve two met as wel) Figure 10,14 Ran of the declared abstract 1Racer class Abstract cless fetended fer racer hlerarchy 6 import Jave ewt.Graphics e pubic asstract elass Bacer 10 private String To, / racer 1 private int i x pestio 12 private Int yiitson 13 default constructer 15 Sets 10 to b ak 16 / 17 public Racer) 18 I 19 10 20 er Hierarchy 22 Constructor 23 @paran rID racer lD 24 paran rx xposition 25 Oparan Yy positio 26 27 public Racert String rID, ist r, 1nt rt ) 28 29 ID rtD 31 y PT: 32 34 accessor for 1D 35 Breturn D 36* put them in the Racer class. Individual racers, however, will differ in he way they move and in the way they are drawn. Thus, in line 8, we deckm the Racer class to be abstract, and in lines 74-81, we define two abstnet methods, move and draw. Classes that inherit from the Racer class willeld 37 public String getio 38 39 return ID; 40 41 erovide implementations of theve two met as wel) Figure 10,14 Ran of the declared abstract 1Racer class Abstract cless fetended fer racer hlerarchy 6 import Jave ewt.Graphics e pubic asstract elass Bacer 10 private String To, / racer 1 private int i x pestio 12 private Int yiitson 13 default constructer 15 Sets 10 to b ak 16 / 17 public Racer) 18 I 19 10 20 er Hierarchy 22 Constructor 23 @paran rID racer lD 24 paran rx xposition 25 Oparan Yy positio 26 27 public Racert String rID, ist r, 1nt rt ) 28 29 ID rtD 31 y PT: 32 34 accessor for 1D 35 Breturn D 36* put them in the Racer class. Individual racers, however, will differ in he way they move and in the way they are drawn. Thus, in line 8, we deckm the Racer class to be abstract, and in lines 74-81, we define two abstnet methods, move and draw. Classes that inherit from the Racer class willeld 37 public String getio 38 39 return ID; 40 41