Object Oriented programming
This is an old revision of this page, as edited by Fionat (talk | contribs) at 13:05, July 22, 2010. It may differ significantly from current revision.
public Color getColor(){
return this.color;
}
public String getModel(){
return model;
}
}
public abstract class Car {
void setColor(Color color); Color getColor(); String getModel();
}