Question

Identify all the class-based patterns in the list below. Adapter Template Method Strategy Abstract Factory Composite

Identify all the class-based patterns in the list below.

Adapter

Template

Method

Strategy

Abstract

Factory

Composite

0 0
Add a comment Improve this question Transcribed image text
Answer #1

DESIGN PATTERNS:

There are two types of Design Patterns.

  1. Class based DP.
    • These Patterns deals with the creation of the classes and handling them.
  2. Object based DP.
    • These Patterns deals with Object Creations and handling them.

The Following are the Class Based Design Patterns.

  1. Method
  2. Adapter
  3. Interpreter (NOT GIVEN IN THE OPTIONS)
  4. Template

Method: Creates an instance of several derived classes

Adapter: Match interfaces of different classes

Interpreter: A way to include language elements in a program (Related to CLASS)

Template: Defer the exact steps of an algorithm to a subclass

==========================================================

If there are any doubts, comment down here. We are right here to help you. Happy Learning..!!

===========================================================

Add a comment
Know the answer?
Add Answer to:
Identify all the class-based patterns in the list below. Adapter Template Method Strategy Abstract Factory Composite
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT