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

Method main

reuse/Detergent.java:30–39  ·  view source on GitHub ↗
(String[] args)

Source from the content-addressed store, hash-verified

28 public void foam() { append(" foam()"); }
29 // Test the new class:
30 public static void main(String[] args) {
31 Detergent x = new Detergent();
32 x.dilute();
33 x.apply();
34 x.scrub();
35 x.foam();
36 System.out.println(x);
37 System.out.println("Testing base class:");
38 Cleanser.main(args);
39 }
40}
41/* Output:
42Cleanser dilute() apply() Detergent.scrub() scrub()

Callers

nothing calls this directly

Calls 5

scrubMethod · 0.95
foamMethod · 0.95
mainMethod · 0.95
diluteMethod · 0.80
applyMethod · 0.65

Tested by

no test coverage detected