Implementation of Design patterns in Java.