Employers: discover CodinGame for tech hiring
Practice
Compete
1
Contribute
Learn
1
Log In
Sign Up
Qcm Pattern Strategy
PaterneBaptiste
1,845 views
A quelle famille de Pattern le Pattern Strategy appartient-il ?
Comportement
Structure
Création
A quels principes SOLID le Pattern Strategy repond-il ?
SRP
OCP
LSP
ISP
DIP
Quels sont les avantages du Pattern Strategy ?
Il rend le code plus lisible
Il sépare les opérations
Il permet de changer facilement d'opérations
Les classes sont courtes
Quel est le défaut du Pattern Strategy ?
Il duplique les classes
Il nécessite de rajouter une classe
Il est compliqué à mettre en oeuvre
A quelle problématique le Pattern Strategy repond-il ?
Permettre une maintenance facile du code
Réaliser plusieurs opération sur un même objet
Changer le comportement d'un objet
5
0
Create your playground on Tech.io
This playground was created on Tech.io, our hands-on, knowledge-sharing platform for developers.
Go to tech.io
Suggested playgrounds
Correct the code to display 'Hello World!'
By
SJTECollege
1,765
90
1
Python Hello World program
By
SJTECollege
1,182
73
4
Tuesday Night Python - Weekly Challenge 001
By
4candles
461
18
0
Tuesday Night Python - Weekly Challenge 002
By
4candles
320
7
2
CodinGame - Home
ABOUT US
CAREERS
PRIVACY
FAQ
CodinGame - Work
The #1 tech hiring platform
SCREENING
SOURCING
RETAIN
ABOUT US
CAREERS
PRIVACY
FAQ
Facebook
YouTube
Twitter
LinkedIn
FR
EN
Join the CodinGame community on Discord to chat about puzzle contributions, challenges, streams, blog articles - all that good stuff!
JOIN US ON DISCORD
Online Participants
Keyboard Shortcuts:
?
Show / hide this help menu
×