mirror of
https://github.com/tiennm99/java-design-patterns.git
synced 2026-05-15 06:58:41 +00:00
All without Readme and pumlid
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
/**
|
||||
* Created by Alexis on 02-May-17.
|
||||
*/
|
||||
public class Thief {
|
||||
protected static void steal() {
|
||||
System.out.println("Steal valuable items");
|
||||
}
|
||||
|
||||
protected static void doNothing() {
|
||||
System.out.println("Pretend nothing happened and just leave");
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user