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

Method main

staticchecking/latent/Latent.java:51–55  ·  view source on GitHub ↗
(String[] args)

Source from the content-addressed store, hash-verified

49
50public class Latent {
51 public static void main(String[] args) {
52 Communicate.speak(new Dog());
53 Communicate.speak(new Robot());
54 Communicate.speak(new Mime());
55 }
56}
57/* Output:
58Woof!

Callers

nothing calls this directly

Calls 1

speakMethod · 0.95

Tested by

no test coverage detected