Last active
December 11, 2015 22:19
-
-
Save HDBandit/92a047260e51d6fe520e to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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