BAEL-1020 -Introductionjukito (#2634)
* Examples for retrofit guide * Introduction to Jukito * class not needed * Changed to testing module
This commit is contained in:
committed by
Grzegorz Piwowarek
parent
0dd6ddd137
commit
11f5ac7b44
@@ -0,0 +1,7 @@
|
||||
package com.baeldung.introductionjukito;
|
||||
|
||||
public interface Calculator {
|
||||
|
||||
public double add(double a, double b);
|
||||
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
package com.baeldung.introductionjukito;
|
||||
|
||||
public class ScientificCalculator extends SimpleCalculator {
|
||||
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
package com.baeldung.introductionjukito;
|
||||
|
||||
public class SimpleCalculator implements Calculator {
|
||||
|
||||
@Override
|
||||
public double add(double a, double b) {
|
||||
return a+b;
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user