What is the output of the following code snippet?
public interface Computable {
int compute(int n);
}
public class Test {
public static void main(String[] args) {
Computable c = new Computable() {
@Override
public int compute(int n) {
return n * n;
}
};
System.out.println(c.compute(4));
}
}