milewalker
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
milewalker [2019/08/23 09:31] – frchris | milewalker [2019/08/23 09:31] – frchris | ||
---|---|---|---|
Line 7: | Line 7: | ||
// note the capital letters for the class name | // note the capital letters for the class name | ||
{ | { | ||
- | public MileWalker(int street, int avenue, Direction direction, int beepers) | + | public MileWalker(int street, int avenue, |
+ | | ||
{ | { | ||
super(street, | super(street, | ||
Line 14: | Line 15: | ||
public void moveMile() | public void moveMile() | ||
{ | { | ||
- | move(); move(); move(); move(); | + | move(); move(); move(); move(); |
move(); move(); move(); move(); | move(); move(); move(); move(); | ||
} | } |
milewalker.txt · Last modified: 2019/08/23 09:37 by frchris