Demonstrating Custom Interfaces

master
sgoudham 4 years ago
parent 5af000a9ff
commit ccc6bed7b9
No known key found for this signature in database
GPG Key ID: EF51A29A50FB754C

@ -0,0 +1,9 @@
public interface MathProcessing {
String SEPARATOR = " ";
String getKeyWord();
double doCalculation(double leftVal, double rightVal);
default String doFormatting() {
return null;
}
}
Loading…
Cancel
Save