Created
July 27, 2015 22:53
-
-
Save jraczak/8c1738adfef22974238c to your computer and use it in GitHub Desktop.
Implementing classes & methods - the stump
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 double milesDriven; | |
private double gasInTank; | |
public void drive(double distance) | |
public void addGas(double amount) | |
// Additional methods fill in below | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment