@@ -0,0 +1,761 @@
+package MLP_SPI_2015_1_LISTA1;%0A%0Aimport java.util.Scanner;%0A%0Apublic class P_carro %7B%0A%0A%09public static void main(String%5B%5D args) %7B%0A%09%09// TODO Auto-generated method stub%0A%09%09%0A%09%09Carro vt = new Carro ();%0A%09%09Scanner scan = new Scanner (System.in);%0A%09%09%0A%09%09System.out.println(%22Digite a cor do ve%C3%ADculo: %22);%0A%09%09vt.setCor(scan.nextLine());%0A%09%09System.out.println(%22Digite o modelo do ve%C3%ADculo: %22);%0A%09%09vt.setModelo(scan.nextLine());%0A%09%09System.out.println(%22Digite a velocidade atual: %22);%0A%09%09vt.setVelAtual(scan.nextInt());%0A%09%09System.out.println(%22Digite sua velocidade m%C3%A1xima: %22);%0A%09%09vt.setVelMaxima(scan.nextInt());%0A%0A%09%09System.out.printf(%22Cor: %25s%5Cn%22, vt.getCor());%0A%09%09System.out.printf(%22Modelo: %25s%5Cn%22, vt.getModelo());%0A%09%09vt.Ligar(vt.getVelAtual()); %0A%09%09vt.Acelerar(vt.getVelAtual());%09%09%0A%09%09%0A%09%7D%0A%09%0A%0A%7D%0A

Create P_carro.java