1.

Name Some Of The Design Patterns Which Are Used In Jdk Library?

Answer»

Following are some of the design patterns which are USED in JDK library.

  • Decorator patttern is used by Wrapper classes.
  • Singleton pattern is used by Runtime, CALENDAR classes.
  • FACTORY pattern is used by Wrapper class like Integer.valueOf.
  • Observer pattern is used by event handling frameworks like SWING, awt.

Following are some of the design patterns which are used in JDK library.



Discussion

No Comment Found