Class InterfaceExamples
java.lang.Object
net.jrodolfo.java_evolution.java01.InterfaceExamples
Refreshes interfaces as early Java contracts.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionCalls two unrelated implementations through the same interface.
-
Constructor Details
-
InterfaceExamples
public InterfaceExamples()
-
-
Method Details
-
renderThroughInterface
Calls two unrelated implementations through the same interface.- Returns:
- rendered messages
-