Java - Polymorphism
Which of the following method signatures correctly demonstrates method overloading in Java?
class Example {
void compute(int a) {}
void compute(double a) {}
void compute(int a, int b) {}
void compute(int a) throws Exception {}
}