Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community!
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.Start your free trial
Ian Z14,584 Points
what does @override before the method do?does Ben go over this?
in the default main activity of an android app there are @override s before the methods.
Is there a video where Ben goes over this? i dont remember seeing one
Christopher Augg21,223 Points
It was talked about in the Java videos. It just means that the author is specifying that they intended to override the method so that the compiler knows to check for errors when a mistake leads to not actually overriding it. Here is the documentation:
I hope that helps....