Beispiel #1
0
 public static void doWork(IDoHomework doHomework, int hours)
 {
     doHomework.DoHomework(hours);
 }
Beispiel #2
0
 public static void dontDoWork(IDoHomework doHomework)
 {
     doHomework.DontDoHomework();
 }
Beispiel #3
0
 public static void dontDoWork(IDoHomework doHomework, int hours)
 {
     doHomework.DontDoHomework(0);
 }