class Vehicle { }
class Engine { }
class Brake { }

public class Car extends Vehicle {		// 상속 
    private Engine e;		             // 구성
    private Brake b;		             // 구성
    public Car() {
        this.e = new Engine();
        this.b = new Brake();
    }
} 