[Gambas-user] how to make a class of a class

Jochen Georges jochen.georges at ...22...
Fri Jan 10 09:09:59 CET 2003


hello 

how can i extend a class of a class in gambas?
like this:

public class Auto{
	public String name;
	public String color;
	public int    power;
}


class Cabrio extends Auto{
	int age;
}


thanks for any hint!

beste gruesse
jochen





More information about the User mailing list