@@ -0,0 +1,1280 @@
+package com.formula1.corrida;%0A%0Apublic class Carro %7B%0A%09// Private para proteger e ser acessado somente por esta classe%0A%09private String%09marcaMotor;%0A%09private String %09chassi;%0A%09private String %09marcaPneu;%0A%09private String%09marcaCombustivel;%0A%09%0A%09// Public static para ser acessador de qualquer lugar do projeto sem precisar instanciar%0A%09// Cadastra carro%0A%09public static Carro cadastraCarro(String marcaMotor, String chassi, String marcaPneu, String marcaCombustivel)%7B%0A%09%09// Instancia carro%0A%09%09Carro c = new Carro();%0A%09%09c.setMarcaMotor(marcaMotor);%0A%09%09c.setChassi(chassi);%0A%09%09c.setMarcaPneu(marcaPneu);%0A%09%09c.setMarcaCombustivel(marcaCombustivel);%0A%09%09return c;%0A%09%7D%0A%09%0A%09// Public para ser acessador de qualquer lugar do projeto%0A%09public String getMarcaMotor() %7B%0A%09%09return marcaMotor;%0A%09%7D%0A%0A%09public void setMarcaMotor(String marcaMotor) %7B%0A%09%09this.marcaMotor = marcaMotor;%0A%09%7D%0A%0A%09public String getChassi() %7B%0A%09%09return chassi;%0A%09%7D%0A%0A%09public void setChassi(String chassi) %7B%0A%09%09this.chassi = chassi;%0A%09%7D%0A%0A%09public String getMarcaPneu() %7B%0A%09%09return marcaPneu;%0A%09%7D%0A%0A%09public void setMarcaPneu(String marcaPneu) %7B%0A%09%09this.marcaPneu = marcaPneu;%0A%09%7D%0A%0A%09public String getMarcaCombustivel() %7B%0A%09%09return marcaCombustivel;%0A%09%7D%0A%0A%09public void setMarcaCombustivel(String marcaCombustivel) %7B%0A%09%09this.marcaCombustivel = marcaCombustivel;%0A%09%7D%0A%0A%7D%0A

Create Carro.java