All times are UTC - 5 hours




Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: About Question enthuware.ocmjea.v6.2.105 :
PostPosted: Tue Feb 06, 2018 11:28 am 
Offline

Joined: Thu Jan 25, 2018 4:52 am
Posts: 2
Wrong answer? 2+5


Identify the objectives of the Strategy pattern?

1) To define an object that encapsulates how a set of objects interact --> Facade
2) To define the skelcton of an algorithm, deferring some steps to subclasses --> template methode
3) To decauple an abstraction from its implementation so that the two can vary independently --> Bridge or something
4) To define a family of algorithms, encapsulate each one, and make them interchangeable --> Strategy - (Abstract factory pattern is "famliy of related objects")
5) To allow subclasses to redefine certain steps of an algorithm without changing the algorithm's structure --> template methode / run-time polymorphism
6) To provide a way to configure a class with one of many behaviors --> Strategy -> many behaviors

==> 4+6


Top
 Profile Send private message  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC - 5 hours


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
Template made by DEVPPL/ThatBigForum