Decorator design pattern is a prominent Core Java pattern heavily used in Java development Kit. Decorator pattern is used to enhance functionality of individual object at runtime which gives flexibility to keep behavior of other object unaffected same time. BufferedReader and BufferedWriter is nice example of decorator design pattern in Java.

Article: Decorator Design Pattern in Java with Example