Skip to content

Instantly share code, notes, and snippets.

@jraczak
Created July 27, 2015 22:53
Show Gist options
  • Save jraczak/8c1738adfef22974238c to your computer and use it in GitHub Desktop.
Save jraczak/8c1738adfef22974238c to your computer and use it in GitHub Desktop.
Implementing classes & methods - the stump
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