mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2024-11-22 21:52:31 +03:00
commit
2fd1664c29
@ -337,6 +337,8 @@ class PennyFarthing extends Bicycle {
|
||||
}
|
||||
|
||||
// You should mark a method you're overriding with an @annotation
|
||||
// To learn more about what annotations are and their purpose
|
||||
// check this out: http://docs.oracle.com/javase/tutorial/java/annotations/
|
||||
@Override
|
||||
public void setGear(int gear) {
|
||||
gear = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user