|
7/13 |
2006/10/31-11/1 [Computer/SW/Languages/Java] UID:45051 Activity:nil |
10/31 @Override in Java, why/why not? \_ Handy warning when your base class changes on you. Not a perfect guard against sloppy refactoring. \_ Why not? If you change your base class you probably want to know if your overrides aren't going to work the way you want them to. \_ Isn't it true that if you use @Override (or other annotations) that you can't compile to a a bytecode which will be garanteed to run on pre-1.5 implementations of the JRE? |
7/13 |
|