Learning sandbox for JAVA design patterns