| 1 | package inheritInterface; |
| 2 | interface it1 { |
| 3 | int x = 10, y = 20; |
| 4 | public void add(int a, int b); |
| 5 | public void sub(int a, int b); |
| 6 | } |
| 7 | class arithmOp implements it1 { |
| 8 | public void add(int p, int q) { |
| 9 | System.out.println("Addition of two numbers: " + (p + q)); |
no outgoing calls
no test coverage detected