JAVA/J2EE Design Patterns Interview Questions You'll Most Likely Be Asked is a perfect companion to stand ahead above the rest in today’s competitive job market. Rather than going through comprehensive, textbook-sized reference guides, this book includes only the information required immediately for job search to build an IT career. This book puts the interviewee in the driver's seat and helps them steer their way to impress the interviewer.
a) 200 JAVA/J2EE Design Patterns Interview Questions, Answers and Proven Strategies for getting hired as an IT professional
b) Dozens of examples to respond to interview questions
c) 51 HR Questions with Answers and Proven strategies to give specific, impressive, answers that help nail the interviews
d) 2 Aptitude Tests download available on www.vibrantpublishers.com
47: What does the PropertyChangeSupport class do?
This class is similar to the Observer class but it is also part of the java.beans package. It is used to allow interested observers to register for notification of changes in the property of labels and other GUI components.
55: What is the Flyweight Pattern used for in Design Patterns?
The Flyweight Pattern is used for addressing sharing, relying on an object’s ability to be responsible to more than a single client, where an ordinary object does not have to worry too much about shared responsibility.
101: What is Façade Pattern used for?
The Façade Pattern deals with a subsystem of classes. A subsystem of classes consists of a set of classes that work in conjunction with each other for the purpose of providing a set of related features (functionality).
102: What is the meaning of a subsystem in real world applications?
In real world applications, a subsystem could comprise of a large number of classes. Clients of a subsystem may need to interact with a number of subsystems classes for their needs. This kind of direct interaction of clients with subsystems classes leads to a high degree of coupling between the client’s objects and the system. Whenever a subsystem class undergoes a change, such as change in its interface, all of its dependent client classes may get affected.
166: What does the MementoHandler client do?
This client contains an object reference of Memento type; it is passed as a Memento instance by the client DCClient.
176: Which is the third step converting an algorithm into individual Methods?
The third step is having a set of steps that can be designed as non abstract Methods with the default implementation, where the Subclasses of the Template class can override these Methods to provide specific implementations.