set-8
351. Identify the problem of GoF pattern: How to obtain the power of polymorphism when reusing a class whose methods have the same function but not the same signature as the other methods in the hierarchy?
352. Identify the problem of GoF pattern: How do you simplify the view that programmers have of a complex package?
353. ______ represent the best practices used by experienced object-oriented software developers.
354. GOF stands for?
355. Design patterns can be classified in ______ categories.
356. Which design patterns are specifically concerned with communication between objects?
357. Which pattern are identified by Sun Java Center?
358. Factory pattern is one of most used design pattern in Java.
359. In how many steps Singleton class in java created?
360. ______ works as a bridge between two incompatible interfaces.
361. Filter pattern also known as?
362. Can we create a clone of a singleton object?
363. You want to avoid multiple inheritance. Which design pattern would you choose?
364. The recurring aspects of designs are called design
365. Design pattern is a solution to a problem that occurs repeatedly in a variety of contexts.
366. Which pattern prevents one from creating more than one instance of a variable?
367. Facade pattern promotes weak coupling between subsystem and its clients.
368. Which design pattern defines one-to-many dependency among objects?
369. Facade pattern couples a subsystem from its clients.
370. In factory method pattern, the framework must instantiate classes but it only knows about the abstract classes, which it cannot initiate. How would one solve this problem?
371. Which mechanism is applied to use a design pattern in an OO system?
372. Design patterns does not follow the concept of software reuse.
373. The use of design patterns for the development of object-oriented software has important implications for ______.
374. Which of the following is a design pattern?
375. You want to minimize development cost by reusing methods? Which design pattern would you choose?
376. Which of the following is the correct list of entities of Composite Entity pattern?
377. Which of the following describes the Behavioral pattern correctly?
378. Which of the following is correct about Abstract Factory design pattern.
379. Which of the following pattern refers to creating duplicate object while keeping performance in mind?
380. Which of the following pattern is primarily used to reduce the number of objects created and to decrease memory footprint and increase performance?
381. GRASP stands for ______.
382. There are ______ GRASP patterns.
383. Which GRASP pattern is suitable to handle alternatives based on type?
384. Which GRASP pattern helps to find out answer for “Who should be responsible for creating a new instance of some class?”
385. You want all the clients using class A to use the same instance of class A, what should you do to achieve this goal?
386. Which design pattern you would you use to have a prototypical instance determine the concrete class of object being created?
387. Which Design Pattern should you use when you want to parameterize objects by an action to perform?
388. Which design pattern you would you use to decouple the creation procedure of a complex object from its concrete instance to be able to apply that procedure on variety of implementations.
389. Which Design Pattern should you use when you want to represent part-whole hierarchies of objects?
390. Given the following scenario: You want to create families of related objects, to be used interchangeably to configure you application. What is most appropriate GoF pattern to use?
391. When would you use the GOF Decorator design pattern?
392. When would you use the GOF Composite design pattern?
393. ______ are the consequences of applying the GOF Singleton pattern.
394. ______ describes the Builder pattern correctly.
395. ______ is not one of the elements of a design pattern.
396. Which GOF design pattern is applied in the code snippet below?
Last updated