Demonstrating Custom Interfaces
parent
5af000a9ff
commit
ccc6bed7b9
@ -0,0 +1,9 @@
|
||||
public interface MathProcessing {
|
||||
|
||||
String SEPARATOR = " ";
|
||||
String getKeyWord();
|
||||
double doCalculation(double leftVal, double rightVal);
|
||||
default String doFormatting() {
|
||||
return null;
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue