/*
* auto.java
*
* Created on 13 maart 2007, 10:31
*
* To change this template, choose Tools | Template Manager
* and open the template in the editor.
*/
package workshop5;
/**
*
* @author dagtmp113
*/
public class Auto {
private String merk;
private String type;
private String kenteken;
private String eigenaar;
/** Creates a new instance of auto */
public static void main(String[] args) {
Auto auto = new Auto();
Auto auto1 = new Auto1(Opel, Corsa, AA-BB-12, Pietje Puk);
}
public Auto() {
merk = "JaguarF";
type = "C-X";
kenteken = "YD-99-YY";
eigenaar = "Arvind";
}
public Auto1(String merk, String type, String kenteken, String eigenaar) {
return Auto1(merk,type,kenteken,eigenaar);
}
}