What are the examples of Command design pattern in JDK?

In JDK there are many places where Command design pattern is used. Some of these are as follows:

  • All implementations of java.lang.Runnable
  • All implementations of javax.swing.Action

Leave a Reply

Your email address will not be published. Required fields are marked *