annotations explanation

This commit is contained in:
Jake Prather 2013-07-04 20:18:42 -05:00
parent b59bbc949d
commit c14253f708

View File

@ -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;