
public  class Schiff extends Transport implements ITransport{
	
	public String bez="";
	public int laenge=0;
	
	public Schiff(String bez, int laenge) {
		this.bez=bez;
		this.laenge = laenge;
	}
	
	@Override
	public String toString() {
		return "Schiff: Bez: "+bez+"  Länge: "+laenge;  
	}
	
	public void print() {
		System.out.println( toString() );
	}

	@Override
	public void save2Database() {
		System.out.println("S2db: "+ toString() );
		
	}
	
	@Override
	public void save2IDatabase() {
		System.out.println("S2Idb: "+ toString() );
		
	}

}
