Skip to content

Instantly share code, notes, and snippets.

@HDBandit
Last active December 11, 2015 21:49
Show Gist options
  • Save HDBandit/0be526192e208246e3c2 to your computer and use it in GitHub Desktop.
Save HDBandit/0be526192e208246e3c2 to your computer and use it in GitHub Desktop.
public class LightCar {
private String engine;
private String color;
public LightCar(String engine, String color) {
this.engine = engine;
this.color = color;
}
public String getEngine() {
return engine;
}
public void setEngine(String engine) {
this.engine = engine;
}
public String getColor() {
return color;
}
public void setColor(String color) {
this.color = color;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment