Home » JAVA Programming » Java Basic » Question
  1. Which design pattern works on data and action taken based on data provided?
    1. Singleton pattern
    2. MVC pattern
    3. Facade pattern
    4. Command pattern
    5. None of these
Correct Option: D

Command pattern is a data driven design pattern. It is a behavioral pattern. A request is wrapped under an object as command and passed to the invoker object.The invoker object looks for the appropriate object which can handle this command and passes this command to the corresponding object which executes the command.



Your comments will be displayed only after manual approval.