beginnerStructural Patterns (Java)
What is the Decorator pattern? How is it used in java.io?
Tests whether you can connect the pattern to something you've already used, like wrapping InputStream with BufferedInputStream.
This is a Pro question
Sign in, then upgrade to Pro or Power to unlock this question and the full Interview Prep bank.
What is the Decorator pattern? How is it used in java.io?