Question from the Java - Fundamentals test

Waiting for validation

Ces deux interfaces appartiennent au même package.
Le code compile-t-il ?

@FunctionalInterface
public interface SimpleInterface {
int compute(int a, int b);
}

@FunctionalInterface
public interface SuperSimpleInterface extends SimpleInterface {
int sum(int a, int b);
}

Author: koceilaStatus: Waiting for validationQuestion not yet passed
0
Community EvaluationsNo one has reviewed this question yet, be the first!