MCPcopy
hub / github.com/DuGuQiuBai/Java / Dog

Class Dog

day09/code/05_接口/InterfaceDemo2.java:29–43  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

27}
28
29class 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
45class InterfaceDemo2 {
46 public static void main(String[] args) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected