Frage im Vorstellungsgespräch bei Perennial System

What are the rules for method overriding in Java?