added Callback pattern

This commit is contained in:
vehpsr
2015-03-26 22:47:04 +02:00
parent 33362d60ad
commit bf2df42c55
10 changed files with 140 additions and 2 deletions
@@ -0,0 +1,13 @@
package com.iluwatar;
/**
* Implementation of task that need to be executed
*/
public class SimpleTask extends Task {
@Override
public void execute() {
System.out.println("Perform some important activity.");
}
}