/* Lab10.java - Main program that uses the Car.java class */
/* DO NOT CHANGE THIS FILE - YOU DO NOT SUBMIT THIS FILE. */
public class Lab10 {
	
	public static void main(String[] args) {
		
		// Car with default Constructor
		Car c1 = new Car();
		System.out.println("Car c1: " + c1.toString());
		System.out.println();
		
		
		// Car with parameterized Constructor
		Car c2 = new Car("Chevrolet", "Corvette", 1953, 13.7, 11.2);
		System.out.println("Car c2: " + c2.toString());
		System.out.println();
		
		
		// Car with parameterized Constructor and test mutator methods
		Car c3 = new Car("Ford", "Mustang", 1967, 13.9, 7.5);
		System.out.println("Car c3: " + c3.toString());
		
		c3.accelerate(10);
		System.out.println("Car c3: " + c3.toString());

		c3.brake(5);
		System.out.println("Car c3: " + c3.toString());
		
		c3.brake(6);
		System.out.println("Car c3: " + c3.toString());
		
	}
}