Top 50 Java Design-Pattern Interview Questions by Knowledge Powerhouse

Top 50 Java Design-Pattern Interview Questions by Knowledge Powerhouse

Author:Knowledge Powerhouse
Language: eng
Format: azw3, epub
Published: 2016-12-01T08:00:00+00:00


Graphic User Interface (GUI): In GUI and menu items, we use command pattern. By clicking a button we can read the current information of GUI and take an action.

Macro Recording: If each of user action is implemented as a separate Command, we can record all the user actions in a Macro as a series of Commands. We can use this series to implement the “Playback” feature. In this way, Macro can keep on doing same set of actions with each replay.

Multi-step Undo: When each step is recorded as a Command, we can use it to implement Undo feature in which each step can by undo. It is used in text editors like MS-Word.



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.