Question: what is the difference between method overriding and method hiding in java?
Answer: method overriding, when the subclass have the same method with the same signature in the subclass. Method hiding, when the subclass have the same method name, but different parameter. In this case, you're not overriding the parent method, but hiding it.