Your question is Java Overloading vs Overriding. Take a moment with it on the right.
Talk me through your thinking if you like. When you're confident, submit your answer and I'll grade it like a real screen (7/10 or better passes).
What is the difference between overloading and overriding in Java?
Explain how Java resolves each mechanism, including when the decision is made and how inheritance affects the result. Give a small example and mention important restrictions such as static, final, and private methods.