Overloading or overriding?
java
class Animal {
void speak() { System.out.println("..."); }
}
class Dog extends Animal {
void speak() { System.out.println("Woof"); }
void speak(int times) { /* ... */ }
}
What is the relationship between the three speak methods?