MCPcopy Index your code
hub / github.com/BruceEckel/OnJava8-Examples / Dog

Class Dog

staticchecking/petspeak/PetSpeak.java:19–23  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

17}
18
19class Dog implements Pet {
20 @Override public void speak() {
21 System.out.println("woof!");
22 }
23}
24
25public class PetSpeak {
26 static void command(Pet p) { p.speak(); }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected