Help me, What is @override in Jave? i can't understand a bit of the code in jave, when i am reading an android game source code. Thanks
hefaz 3
Hanif Hefaz
Recommended Answers
Jump to Post@Override is an annotation that makes it more clear that you are overriding the method of a superclass, and that adds validation on whether or not you are in fact (correctly) overriding a method.
For instance, if you were to add:
public boolean equals(MyObject o){ ... } …
All 2 Replies
Reply to this topic
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.