
public class Paddelboot extends Schiff{

    public String material="";
	
	public Paddelboot(String bez, int laenge, String material) {
		super(bez,laenge);
		this.material=material;
	}
	
	
	@Override
	public String toString() {
		return super.toString()+  "  Paddelboot: Material: "+material;  
	}
	
	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() );
		
	}

}
