@@ -0,0 +1,951 @@
+package formulaone.objetos;%0A%0Apublic class Carro %7B%0A%09%0A%09private int IdCarro; // adicionei o idCarro para facilitar a indexa%C3%A7%C3%A3o do Carro junto ao piloto%0A%09private String chassi;%0A%09private String marcaMotor;%0A%09private String marcaPneu;%0A%09private String marcaCombust%C3%ADvel;%0A%09%0A%09public int getIdCarro() %7B%0A%09%09return IdCarro;%0A%09%7D%0A%09public void setIdCarro(int idCarro) %7B%0A%09%09this.IdCarro = idCarro;%0A%09%7D%0A%09%09%0A%09public String getChassi() %7B%0A%09%09return chassi;%0A%09%7D%0A%09public void setChassi(String chassi) %7B%0A%09%09this.chassi = chassi;%0A%09%7D%0A%09public String getMarcaMotor() %7B%0A%09%09return marcaMotor;%0A%09%7D%0A%09public void setMarcaMotor(String marcaMotor) %7B%0A%09%09this.marcaMotor = marcaMotor;%0A%09%7D%0A%09public String getMarcaPneu() %7B%0A%09%09return marcaPneu;%0A%09%7D%0A%09public void setMarcaPneu(String marcaPneu) %7B%0A%09%09this.marcaPneu = marcaPneu;%0A%09%7D%0A%09public String getMarcaCombust%C3%ADvel() %7B%0A%09%09return marcaCombust%C3%ADvel;%0A%09%7D%0A%09public void setMarcaCombust%C3%ADvel(String marcaCombust%C3%ADvel) %7B%0A%09%09this.marcaCombust%C3%ADvel = marcaCombust%C3%ADvel;%0A%09%7D%0A%7D%0A

Create Carro.java