Skip to content

Instantly share code, notes, and snippets.

@ekumachidi
Last active September 24, 2015 22:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ekumachidi/47c50e3fe21b7415ccc7 to your computer and use it in GitHub Desktop.
Save ekumachidi/47c50e3fe21b7415ccc7 to your computer and use it in GitHub Desktop.
public class Vehicle{
public String color;
public String engineType;
public int wheels;
public int engine;
public void move();
public void brake();
public void stop();
}
public class Truck extends Vehicle{
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment