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

Class PerformingDogA

generics/DogsAndRobotMethodReferences.java:9–13  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7import java.util.function.*;
8
9class PerformingDogA extends Dog {
10 public void speak() { System.out.println("Woof!"); }
11 public void sit() { System.out.println("Sitting"); }
12 public void reproduce() {}
13}
14
15class RobotA {
16 public void speak() { System.out.println("Click!"); }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected