Last active
December 11, 2015 21:49
This file contains 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 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