Skip to content

Instantly share code, notes, and snippets.

@HDBandit
Last active December 11, 2015 22:19
Show Gist options
  • Save HDBandit/92a047260e51d6fe520e to your computer and use it in GitHub Desktop.
Save HDBandit/92a047260e51d6fe520e to your computer and use it in GitHub Desktop.
public class Car {
private String engine;
private String color;
private long frameNumber;
public Car(long frameNumber, String engine, String color) {
this.engine = engine;
this.color = color;
this.frameNumber = frameNumber;
}
public String getEngine() {
return engine;
}
public String getColor() {
return color;
}
public long getFrameNumber() {
return frameNumber;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment