What does the subclass method need to have in common with the superclass method when overriding it?

The name and parametersThe method body

When overriding, the name and parameters have to be common. The code inside the method can be different.