| 27 | } |
| 28 | |
| 29 | class Dog implements Animal { |
| 30 | /* |
| 31 | public void show() { |
| 32 | //num = 100; |
| 33 | System.out.println(num); |
| 34 | //num2 = 200; |
| 35 | System.out.println(num2); |
| 36 | System.out.println(Animal.num); |
| 37 | System.out.println(Animal.num2); |
| 38 | |
| 39 | } |
| 40 | */ |
| 41 | |
| 42 | public void show() {} |
| 43 | } |
| 44 | |
| 45 | class InterfaceDemo2 { |
| 46 | public static void main(String[] args) { |
nothing calls this directly
no outgoing calls
no test coverage detected